You are here: Re: Does PHP5 support dynamic variables? « PHP Language « IT news, forums, messages
Re: Does PHP5 support dynamic variables?

Posted by Steve on 09/27/07 20:55

"Old Caledonia" <oldcaledonia@tiscali.co.uk> wrote in message
news:deGdndSVNucyjmHbnZ2dnUVZ8s6gnZ2d@bt.com...
> Hi,
>
> I'm in the process of upgrading an aged php application to php5
> compatibility.

> $categoryvalue = ${$tempbox};

listen, this construct is not called or known by 'dynamic variables'...which
would be a moot point. [hint: 'variable'] ;^)

anyway, yes, the $$variable and ${$variable} *variable variable* (not just
symantics) construct is very much alive in php 5 - most often used by those
who have programmed themselves into a corner. ;^)

you could help yourself out with 3 lines of code to imperically answer your
own question.

 

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

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