Hi!

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.

=> is not exactly operator, it's part of the array operator syntax (e.g. array($foo => $bar) produces array from two vars, => by itself is not used). -> is usually called an arrow operator.

Also, the "\" operator used for declaring sub-namespaces is never mentioned
as a proper operator in the PHP manual, let alone have a specific name.

\ is not an operator either, it's a namespace separator.
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to