|
Posted by Justin Koivisto on 09/27/05 05:51
boclair wrote:
> Justin Koivisto wrote:
>
>> 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 know it as "assignment operator" but probably incorrectly.
The assignment operator would the just the = as in:
$a = 5;
"Variable a is assigned the integer value of five"
Almost everywhere I've seen it discussed it is simply referenced as:
"key => value" and is always typed out.
However, I guess it is sort of an assignment operator... Great now there
are 2 of them! ;)
It's not a big deal, just one of those curiosity things that starts to
annoy you late at night. That and I figured that it was about time I
asked a question here anyway...
--
Justin Koivisto, ZCE - justin@koivi.com
http://koivi.com
Navigation:
[Reply to this message]
|