Re: operators
| From: | Ryan McCue | Date: | Mon, 30 Jan 2012 12:37:10 +0000 |
| Subject: | Re: operators | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-57571@lists.php.net to get a copy of this message | ||
Adi Nita wrote:
> Does anyone know what are the official names for the "->" and "=>"
> operators? They don't seem to be included in the PHP documentation,
> although I would have expected them to reside in the Operators section of
> the manual.
The tokens are T_OBJECT_OPERATOR and T_DOUBLE_ARROW respectively, if
that helps: http://www.php.net/manual/en/tokens.php
The namespace operator is T_NS_SEPARATOR.
Hope that helps,
--
Ryan McCue
<http://ryanmccue.info/>