i hope that everyone here know the php ‘variable variable’ syntax:
$color = 'red';
$red = 'yes, im red';
echo $$color;
//output: 'yes, im red';
but my problem is: how this syntax is named?
i’m trying to find the reference on php.net, with no results (i wanna know if this feature will be kept in php6, the others attributes, etc…)
Variable Variables
And yes it will be kept in PHP6 as far as I know.