# namespace support

- Thread: https://externals.io/message/28980
- Original archive: https://news-web.php.net/php.internals/28980
- Started by Lukas Kahwe Smith on 2007-04-24T14:50:50+00:00
- Messages: 8
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #28980 — Lukas Kahwe Smith — 2007-04-24T14:50:50+00:00

URL: https://externals.io/message/28980#28980

Hello,

Andrei asked me to bring up the topic of namespaces again. From the 
meeting notes [1] and the following discussion it seems like we agreed 
(once more) to include namespace support in PHP6. However after a time 
where we saw a flurry of patches, things have died down. Also Marcus 
does not seem to have a lot of time to take ownership of this task 
(hopefully he might still have time to "mentor" whoever takes over).

Looking at Marcus's comments [2] following the removal of namespaces 
from PHP5 due to issues noticed [3] it seems that the two major issues are:
1) finding a separator
2) fixing import

I propose we just move forward with "\" as the separator. It does not 
require any fancy changes, so that we can focus on getting the 
implementation right. We can always change the separator until the first 
stable release if necessary.

A very good summary of the situation can be found here:
http://phpnamespaces.org/wiki/start?rev=1171580102

So Jessie are you still interested? Does anyone with sufficient 
ZendEngine2 karma have time to help him get a rock solid implementation 
committed?

regards,
Lukas

[1] http://www.php.net/~derick/meeting-notes.html#name-spaces
[2] http://news.php.net/php.internals/2124
[3] http://news.php.net/php.internals/798

---

## #28989 — Andrei Zmievski — 2007-04-24T16:49:47+00:00

URL: https://externals.io/message/28980#28989 · In reply to: #28980

> So Jessie are you still interested? Does anyone with sufficient  
> ZendEngine2 karma have time to help him get a rock solid  
> implementation committed?

ZendEngine2 karma is not necessary to help with this task. It's only  
needed for commit.

-Andrei

---

## #28998 — Lukas Kahwe Smith — 2007-04-24T20:10:40+00:00

URL: https://externals.io/message/28980#28998

Guilherme Blanco wrote:

> I think the best separator is :::

thats not what i asked :)
and it should not be the issue we focus on at this point either.

regards,
Lukas

---

## #29014 — Stanislav Malyshev — 2007-04-25T08:14:56+00:00

URL: https://externals.io/message/28980#29014 · In reply to: #28998

> > […]

Please not the "my separator is weirder than yours" thread again!
-- 
Stanislav Malyshev, Zend Products Engineer
stas@zend.com  http://www.zend.com/

---

## #29040 — Jessie Hernandez — 2007-04-26T03:32:35+00:00

URL: https://externals.io/message/28980#29040 · In reply to: #28980

Lukas,

I'm not having much spare time lately, but I'd like to continue working 
on the patch as soon as I can. Will the patch be needed only on PHP 6 or 
is there a possibility of including it in a minor version (5.3 or 5.4, 
perhaps)? If it's only for 6, I'll try to adapt my patch for it over the 
next few days.


Regards,

Jessie


Lukas Kahwe Smith wrote:
> Hello,
> 
> Andrei asked me to bring up the topic of namespaces again. From the 
> meeting notes [1] and the following discussion it seems like we agreed 
> (once more) to include namespace support in PHP6. However after a time 
> where we saw a flurry of patches, things have died down. Also Marcus 
> does not seem to have a lot of time to take ownership of this task 
> (hopefully he might still have time to "mentor" whoever takes over).
> 
> Looking at Marcus's comments [2] following the removal of namespaces 
> from PHP5 due to issues noticed [3] it seems that the two major issues are:
> 1) finding a separator
> 2) fixing import
> 
> I propose we just move forward with "\" as the separator. It does not 
> require any fancy changes, so that we can focus on getting the 
> implementation right. We can always change the separator until the first 
> stable release if necessary.
> 
> A very good summary of the situation can be found here:
> http://phpnamespaces.org/wiki/start?rev=1171580102
> 
> So Jessie are you still interested? Does anyone with sufficient 
> ZendEngine2 karma have time to help him get a rock solid implementation 
> committed?
> 
> regards,
> Lukas
> 
> [1] http://www.php.net/~derick/meeting-notes.html#name-spaces
> [2] http://news.php.net/php.internals/2124
> [3] http://news.php.net/php.internals/798

---

## #29041 — Jessie Hernandez — 2007-04-26T03:33:49+00:00

URL: https://externals.io/message/28980#29041 · In reply to: #28980

Lukas,

I'm not having much spare time lately, but I'd like to continue working 
on the patch as soon as I can. Will the patch be needed only on PHP 6 or 
is there a possibility of including it in a minor version (5.3 or 5.4, 
perhaps)? If it's only for 6, I'll try to adapt my patch for it over the 
next few days.


Regards,

Jessie


Lukas Kahwe Smith wrote:
> Hello,
> 
> Andrei asked me to bring up the topic of namespaces again. From the 
> meeting notes [1] and the following discussion it seems like we agreed 
> (once more) to include namespace support in PHP6. However after a time 
> where we saw a flurry of patches, things have died down. Also Marcus 
> does not seem to have a lot of time to take ownership of this task 
> (hopefully he might still have time to "mentor" whoever takes over).
> 
> Looking at Marcus's comments [2] following the removal of namespaces 
> from PHP5 due to issues noticed [3] it seems that the two major issues are:
> 1) finding a separator
> 2) fixing import
> 
> I propose we just move forward with "\" as the separator. It does not 
> require any fancy changes, so that we can focus on getting the 
> implementation right. We can always change the separator until the first 
> stable release if necessary.
> 
> A very good summary of the situation can be found here:
> http://phpnamespaces.org/wiki/start?rev=1171580102
> 
> So Jessie are you still interested? Does anyone with sufficient 
> ZendEngine2 karma have time to help him get a rock solid implementation 
> committed?
> 
> regards,
> Lukas
> 
> [1] http://www.php.net/~derick/meeting-notes.html#name-spaces
> [2] http://news.php.net/php.internals/2124
> [3] http://news.php.net/php.internals/798

---

## #29044 — Stanislav Malyshev — 2007-04-26T06:54:56+00:00

URL: https://externals.io/message/28980#29044 · In reply to: #29040

> I'm not having much spare time lately, but I'd like to continue working 
> on the patch as soon as I can. Will the patch be needed only on PHP 6 or 
> is there a possibility of including it in a minor version (5.3 or 5.4, 
> perhaps)? If it's only for 6, I'll try to adapt my patch for it over the 
> next few days.

I don't think it's a good idea to introduce such a big thing as 
namespaces anywhere before php 6.

-- 
Stanislav Malyshev, Zend Products Engineer
stas@zend.com  http://www.zend.com/

---

## #29050 — Lukas Kahwe Smith — 2007-04-26T14:26:29+00:00

URL: https://externals.io/message/28980#29050 · In reply to: #29044

Stanislav Malyshev wrote:
> > […]
> 
> I don't think it's a good idea to introduce such a big thing as 
> namespaces anywhere before php 6.

Indeed the plan seems to be for PHP6 only.

regards,
Lukas
