For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > September 2005 > Array and => operator









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Array and => operator
Justin Koivisto

2005-09-27, 6:57 pm

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

In the source code and the parser token list, the => operator is
reference as "double arrow" - the docs do not seem to name the operator
anywhere, it's always referenced as "=>" instead.

For teaching or training PHP to others, it would be much better to say
"double arrow" instead of "equal sign, greater than." It would be very
helpful for people learning php to be able to search for the operator
and have something come up.

It may also be handy to have it listed somewhere in the operators
section of the manual:
http://www.php.net/manual/en/language.operators.php

Possibly the same would hold true for things like -> and ::

- --
Justin Koivisto, ZCE - justin@koivi.com
http://koivi.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFDOXb0m2SxQ7JEbpoRAtOtAJ42EgImltO4
357BPSMXR2+7TyeTtgCeOnGb
4mPMjbMSIXsYHz2i0qLE81I=
=AtcK
-----END PGP SIGNATURE-----
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com