Re: Obscure token name
| From: | Rune Kaagaard | Date: | Tue, 27 Apr 2010 14:19:11 +0000 |
| Subject: | Re: Obscure token name | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-48112@lists.php.net to get a copy of this message | ||
You can pry T_PAAMAYIM_NEKUDOTAYIM from my cold dead fingers!
On 4/27/10, mathieu.suen <mathieu.suen@easyflirt.com> wrote:
> OMG More than 100 token
> I am pretty sure that more than 50% are syntactic sugar.
>
>
>
>
> Davey Shafik wrote:
>> 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.
>>
>> - 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
>>>
>>>
>
> -- Mathieu Suen
>
>
>
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>