RE: [PHP-DEV] Obscure token name
| From: | Sufficool, Stanley | Date: | Tue, 27 Apr 2010 20:39:31 +0000 |
| Subject: | RE: [PHP-DEV] Obscure token name | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-48117@lists.php.net to get a copy of this message | ||
>-----Original Message-----
>From: Davey Shafik [mailto:davey@php.net]
>Sent: Tuesday, April 27, 2010 6:03 AM
>To: mathieu.suen
>Cc: Hannes Magnusson; PHP internals
>Subject: Re: [PHP-DEV] Obscure token name
>
>
>From the manual:
>
>T_PAAMAYIM_NEKUDOTAYIM :: ::. Also defined as T_DOUBLE_COLON.
>
>http://php.net/manual/en/tokens.php
>
>T_PAAMAYIM_NEKUDOTAYIM is hardly un-google-able.
The rest of PHP5 is in English, why do I have to strain my brain or fire up my browser to decipher
"Unexpected token T_PAAMAYIM_NEKUDOTAYIM on line ## in <filename>". How many native
Hebrew speaking programmers will be put off by changing this to T_DOUBLE_COLON?
I guess it could be argued that I would have my browser already running to reference the mess of PHP
functions anyway. :P
>
>- Davey
>
>On Apr 27, 2010, at 2:50 AM, mathieu.suen wrote:
>
>> Hannes Magnusson wrote:
>>> On Mon, Apr 26, 2010 at 16:32, mathieu.suen
>>> <mathieu.suen@easyflirt.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> I am wondering why is the token name so incomprehensible ? Like
>>>> T_PAAMAYIM_NEKUDOTAYIM...
>>>>
>>>
>>> "Paamayim Nekudotayim would, at first, seem like a strange
>choice for
>>> naming a double-colon. However, while writing the Zend Engine 0.5
>>> (which powers PHP 3), that's what the Zend team decided to call it.
>>> It actually does mean double-colon - in Hebrew!"
>>>
>>>
>>> http://php.net/manual/en/language.oop5.paamayim-nekudotayim.php
>>>
>>> -Hannes
>>>
>>>
>> Then T_DOUBLE_COLON would have been perfectly clear.
>>
>> -- Mathieu Suen
>>
>>
>>
>>
>> --
>> PHP Internals - PHP Runtime Development Mailing List
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>
>
>--
>PHP Internals - PHP Runtime Development Mailing List
>To unsubscribe, visit: http://www.php.net/unsub.php
>
>