ID: 38964 Updated by: [EMAIL PROTECTED] Reported By: faust04 at o2 dot pl -Status: Open +Status: Bogus Bug Type: Variables related Operating System: OpenSuSE10.1 PHP Version: 5.1.6 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 Inside a string it acts as concatenation. Previous Comments: ------------------------------------------------------------------------ [2006-09-26 15:20:10] faust04 at o2 dot pl Description: ------------ Duality in treating variables. Reproduce code: --------------- $o_$o = 10; // generates an error - that's ok echo "My variable value: $o_$o"; // treat's "$o_$o" as a right declared variable (sic!). It looks like 2 different variable definitions and that's the mistake Expected result: ---------------- Error 2 times Actual result: -------------- Error My variable value: ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=38964&edit=1