ID: 44952
Updated by: dmitry@[...].net
Reported By: vesko at webstudiobulgaria dot com
-Status: Open
+Status: Assigned
Bug Type: Scripting Engine problem
Operating System: Debian Lenny
PHP Version: 5.3CVS-2008-05-09 (snap)
-Assigned To:
+Assigned To: dmitry
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2008-05-09 08:00:45] vesko at webstudiobulgaria dot com
Description:
------------
When giving variable variable argument to isset() it is not checking
correctly.
It was working property with the snap from 21 February (and of course
works correctly with php 5.2 branch).
Reproduce code:
---------------
<?
$var_name = 'unexisting';
if(isset($$var_name))
{
print $$var_name;
}
?>
Expected result:
----------------
//print nothing
Actual result:
--------------
Notice: Undefined variable: unexisting in /home/local/test/t3.php on
line 5
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=44952&edit=1