Re: Make primitive type names reserved words (Was: Re: [PHP-DEV] [RFC] 5.4 features for vote (long))
| From: | Pierre Joye | Date: | Mon, 11 Jul 2011 08:26:49 +0000 |
| Subject: | Re: Make primitive type names reserved words (Was: Re: [PHP-DEV] [RFC] 5.4 features for vote (long)) | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-53839@lists.php.net to get a copy of this message | ||
On Mon, Jul 11, 2011 at 10:15 AM, Jan Schneider <jan@horde.org> wrote:
>
> Zitat von Ferenc Kovacs <tyra3l@gmail.com>:
>
>> On Sun, Jul 10, 2011 at 11:17 PM, Pierre Joye <pierre.php@gmail.com>
>> wrote:
>>>
>>> hi,
>>>
>>> As I could agree on this fact, I can't find any existing project
>>> having int(eger), float&co as class, namespaced or not. Do you have
>>> any example at hand?
>>>
>>> Cheers,
>>>
>>
>>
>> º¦Ð%i
>> ‘ ¡¿y§T‚https://github.com/search?type=Code&language=PHP&q=%22class+int%22&repo=&langOverride=&x=0&y=0&start_value=1
>>
>> not too many though.
>
> Try that for String and it reveals a different picture. Horde 3 used that
> too FWIW.
>
> Jan.
Even the php5 versions of Horde? That's rather bad given the so strong
and loud warnings we gave about using common names w/o namespace, by
the time of the date problem.
Cheers,
--
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org