ID: 35599 Updated by: [EMAIL PROTECTED] Reported By: shri_phadte at yahoo dot co dot in -Status: Open +Status: Bogus Bug Type: Scripting Engine problem Operating System: any PHP Version: 5.1.1 New Comment:
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php Previous Comments: ------------------------------------------------------------------------ [2005-12-08 12:41:40] shri_phadte at yahoo dot co dot in Description: ------------ when i assign a value to a variable using the contents of some other variable probably it does not check for validity of variable name and assigns value to it. Reproduce code: --------------- error_reporting(E_ALL); $test= 111 ; $$test="This Should Not Be Allowed"; echo $$test; Expected result: ---------------- should be a parse error because a variable name is an integer Actual result: -------------- This Should Not Be Allowed ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=35599&edit=1