Re: Declare PHP/php as namespace reserved for PHP internals
| From: | Pierre Joye | Date: | Mon, 11 Jul 2011 09:41:39 +0000 |
| Subject: | Re: Declare PHP/php as namespace reserved for PHP internals | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-53849@lists.php.net to get a copy of this message | ||
On Mon, Jul 11, 2011 at 11:38 AM, Hannes Magnusson
<hannes.magnusson@gmail.com> wrote:
> Hi
>
> I'm a bit confused by the "Declare PHP/php as namespace reserved for
> PHP internals" vote on
> https://wiki.php.net/todo/php54/vote
>
> Why is there an option to select "PHP" or "php", and not just a yes/no
> question?
>
> I'm even more confused by the people that voted only one or the other.
> Namespaces are case-insensitive, so if we reserve
php we
> effectively
> reserve PHP and pHp too..
>
> Am I failing to understand something?
So both will be documented and it is forward compatible (if we ever
change the case insensitive behavior).
--
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org