php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #52580
Patch wtf.txt revision 2010-08-10 20:59 UTC by dijincorp at mail dot ru

Patch wtf.txt for Unknown/Other Function Bug #52580

Patch version 2010-08-10 20:59 UTC

Return to Bug #52580 | Download this patch
Patch Revisions:

Developer: dijincorp@mail.ru


$variable = "test";
$var_1 = "variable";
echo ${$var_1}; //work

$var_2['x2'] = "test";
$var_2['x'] = "var_2";
echo ${$var_2['x']}['x2']; //work

$var_3['x2'] = "test";
$var_3['x'] = "var_3['x2']";
echo ${$var_3['x']}; //dont work
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Jun 22 10:01:30 2024 UTC