You are here: Re: How to emulate isset() ? (is it possible?) « PHP Programming Language « IT news, forums, messages
Re: How to emulate isset() ? (is it possible?)

Posted by Giovanni R. on 05/30/07 01:05

Umberto Salsi <salsi@icosaedro.italia> wrote:
> This code will say you all about the existence of the $array and its
> element 'inexistent_index', also if this element is NULL: ...

Umbe', scusa, ma a che mi serve? ;-)

Anyway, I used your code and it confirms that: byVal($array['index'])
does not create neither the index nor the array and generates the
notice; byRef($array['index']) does not generate the notice, but creates
the index and the array; byRef(@$array['index']) does not create neither
the index nor the array, and does not generate the notice, like isset().

Ciao, Giovanni

 

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

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