ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> php-dev
php-dev
#44952 [Opn->Asn]: isset() does not checks correctly variable variable
by dmitry other posts by this author
May 12 2008 2:10AM messages near this date
#44952 [Asn->Csd]: isset() does not checks correctly variable variable | #44949 [NEW]: str_replace or str_ireplace don't work.
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
Thread:
Vesko At Webstudiobulgaria Dot Com
dmitry
dmitry

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved