namespace support

php.internals

Lukas Kahwe Smith

19 years ago
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

Andrei Zmievski

19 years ago
On Apr 24, 2007, at 7:50 AM, Lukas Kahwe Smith wrote:
> 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

Jessie Hernandez

19 years ago
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:

Stanislav Malyshev

19 years ago
> 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/

Lukas Kahwe Smith

19 years ago
Stanislav Malyshev wrote:
>> 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.
Indeed the plan seems to be for PHP6 only. regards, Lukas

Jessie Hernandez

19 years ago
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: