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

Posted by Andy Hassall on 09/27/05 22:38

On Mon, 26 Sep 2005 19:30:20 -0500, Justin Koivisto <justin@koivi.com> 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... ;)

In the parser's scanner it's T_DOUBLE_ARROW, so it's a double arrow.

andyh@server:/usr/src/php-5.1.0RC1/Zend$ grep -2 '=>' zend_language_scanner.l
}

<ST_IN_SCRIPTING>"=>" {
return T_DOUBLE_ARROW;
}
--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool

 

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

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