Reply to Re: php4 end of life

Your name:

Reply:


Posted by Jerry Stuckle on 02/24/07 02:47

Ken Williams wrote:
> Rik wrote:
>> On Sun, 18 Feb 2007 17:10:03 +0100, Drazen Gemic <trenchsol@yahoo.com>
>> wrote:
>>
>>>> Two answers:
>>>> And remember: It's a myth that PHP5 is incompatible to PHP4. There a
>>>> far
>>>> more compatibility issues between 4.3 and 4.4 than between 4.4 and the
>>>> 5.x versions.
>>>>
>>>
>>> I don't agree. If $a and $b are arrays or objects, then
>>> $a=$b; produces different results in PHP5 and PHP4 respectively.
>>>
>
> Can anyone tell me if this is still possible in PHP5?
>
> $VarName = "testdata";
> $$VarName = "this is the test data";
> echo $testdata;
> Output: this is the test data
>
> The double $$ thing?
> kenw232@yahoo.com

Yes, and it is documented to work that way.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[Back to original 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

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