You are here: Re: Arrays: $SomeArray{0} vs. $SomeArray[0] « PHP Programming Language « IT news, forums, messages
Re: Arrays: $SomeArray{0} vs. $SomeArray[0]

Posted by Michael Fesser on 12/01/06 15:43

..oO(Norman Peelman)

>You use [ ] on arrays such as:
>[...]
>
>You use { } on strings such as:
>[...]

You can also use [] on strings, even if it was not recommended in older
PHP versions. The {} syntax is now deprecated as of PHP 5.1 and will be
removed in PHP 6.

4.5 Cleanup for {} vs. []
http://www.php.net/~derick/meeting-notes.html#cleanup-for-vs

Micha

 

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

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