/cc-ing internals, as I sent the message privately to Yasuo by mistake.

---------- Forwarded message ----------
From: Jakub Kubíček <kelerest...@gmail.com>
Date: 2015-06-11 0:40 GMT+02:00
Subject: Re: [PHP-DEV] Migrating PHP classes to built in namespace
To: Yasuo Ohgaki <yohg...@ohgaki.net>


Hi.

This is weird and ugly what you're fabricating here. The PHP classes
should be all in global namespace. I am really against some
namespacing of them.

My € 0.02


Regards
Kubo2


2015-06-04 23:17 GMT+02:00 Yasuo Ohgaki <yohg...@ohgaki.net>:
> Hi Marc,
>
> On Thu, Jun 4, 2015 at 6:04 PM, Marc Bennewitz <dev@mabe.berlin> wrote:
>
>> This one is not compatible with current code as you have to alias the PHP
>> namespace to the root one before using full classes like \DateTime.
>>
>
> Right.
> We are better to have PHP namespace for internal classes/functions first,
> then
> introduce "as \" few years later. i.e. PHP classes/functions exist in both
> \ and \php
> namespace during migration period or we may user INI switch for migration.
>
> PS: I like a lower case "php" much more than upper case "PHP" ;)
>>
>
> I'm neutral on this :)
>
> Regards,
>
> --
> Yasuo Ohgaki
> yohg...@ohgaki.net

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to