ID: 31899 User updated by: php at simplicate dot it Reported By: php at simplicate dot it Status: Open Bug Type: Variables related Operating System: Linux 2.4.22-1.2199 - Apache 2.0 PHP Version: 4.3.8 New Comment:
In order for the link i posted to work it needs to include the "08" on the end... altho it has been wrapped by your parser function, just making sure - it maybe quite obvious but i really want this problem looked into / commented on and not cast aside. http://ourproperty.co.uk/test/index.php?code=0&allowin=SECurePHRase808 Previous Comments: ------------------------------------------------------------------------ [2005-02-09 16:08:54] php at simplicate dot it Description: ------------ When a variable variable is globalized into a function and then its value is set to a reference of another variable, the variable variable's value does not extend past that of the function. Reproduce code: --------------- $v = 'albert'; function test($var){ global $$var, $v; $$var = &$v; } test('mmm'); var_dump($mmm); exit; // for further examples follow the link below: // http://www.ourproperty.co.uk/test/index.php?code=0&allowin=SECurePHRase808 Expected result: ---------------- string(6) "albert" Actual result: -------------- NULL ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=31899&edit=1