9
In PHP, it seems that this operator ::
has a Hebrew name (I don’t know why anyone would use Hebrew), Paamayim Nekudotayim
.
I always have a problem when I have to explain to someone the name of that operator, since I do not know the pronunciation of the name mentioned above.
I always say: Two-point
Is there any other name by which the operator can be called ::
?
It was an Israeli programmer who inserted the constant
T_PAAMAYIM_NEKUDOTAYIM
(= double-Colon = double-colon) in an old version of the Zend parser and created confusion. Often the error Unexpected T_PAAMAYIM_NEKUDOTAYIM.... I don’t know if they changed that name internally today.– bfavaretto
They haven’t changed @bfavaretto. This error usually occurs (I use PHP 5.5)
– Wallace Maxters