Posted by Ken Williams on 02/23/07 22:31
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
Navigation:
[Reply to this message]
|