You are here: Re: Globals problem (I think) « PHP Programming Language « IT news, forums, messages
Re: Globals problem (I think)

Posted by Andy Jeffries on 05/05/06 15:00

On Fri, 05 May 2006 11:59:56 +0000, Andy Jeffries wrote:
>> I don't understand, what does the double dollar mark denote?
>
> OK, it's the same as follows:
>
> $name = "foo"
> $foo === $$name;

Another way of explaining it would be to use fictional brackets:

$("foo") === $("$name")

Cheers,


Andy

--
Andy Jeffries MBCS CITP ZCE | gPHPEdit Lead Developer
http://www.gphpedit.org | PHP editor for Gnome 2
http://www.andyjeffries.co.uk | Personal site and photos

 

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

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