ID: 47575 User updated by: kacperszurek at gmail dot com Reported By: kacperszurek at gmail dot com Status: Open Bug Type: *General Issues Operating System: Any PHP Version: 5.2.9 New Comment:
Description: ------------ Re-assign $this is possible Reproduce code: --------------- <?php $variable = "this"; $$variable = "test"; echo $this; //test Expected result: ---------------- Fatal error: Cannot re-assign $this in.... Actual result: -------------- test Previous Comments: ------------------------------------------------------------------------ [2009-03-05 17:20:05] kacperszurek at gmail dot com Description: ------------ Re-assign $this is possible Reproduce code: --------------- <?php $variable = "this"; $$variable = "test"; echo $variable; //test Expected result: ---------------- Fatal error: Cannot re-assign $this in.... Actual result: -------------- test ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=47575&edit=1
