You are here: Re: php trivia: => « PHP Programming Language « IT news, forums, messages
Re: php trivia: =>

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация