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]
|