Posted by Justin Koivisto on 09/27/05 15:24
Geoff Berrow wrote:
> I noticed that Message-ID: <g7adnSZjsrQAD6XeRVn-tw@onvoy.com> from
> Justin Koivisto contained the following:
>
>>Does anyone know what the name of the => operator in PHP is? It is
>>something that is nearly impossible to search for, and I am not sure if
>>it even has a name. I know that there has been a couple php-dev people
>>in here before, so maybe someone kind throw me a bone... ;)
>
> I couldn't find out either so I decided to name it myself. I call it an
> 'andits' foreach ($key andits $value){... Geddit?
Now that's funny!
I've been calling the "indirect assignment operator" in the class notes
that I've been preparing, but wanted to see if there was an official name...
I think for now I will stick with what I have in the notes. I think that
naming an assignment operator in a way that could possibly be confused
with a logical operator would just be too confusing for newbies. ;)
--
Justin Koivisto, ZCE - justin@koivi.com
http://koivi.com
[Back to original message]
|