ID:               46003
 Updated by:       [EMAIL PROTECTED]
 Reported By:      kiryl dot zhybul at gmail dot com
-Status:           Open
+Status:           Closed
 Bug Type:         SimpleXML related
 Operating System: linux
 PHP Version:      5.2.6
 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-09-05 15:17:45] kiryl dot zhybul at gmail dot com

Description:
------------
isset on nonexisting nodes return unexpected results

Reproduce code:
---------------
$a = simplexml_load_string("
        <r>
                <p>Test</p>
                <o d='h'>
                          <xx rr='info' />
                          <yy rr='data' />
                </o>
        </r>
");

var_dump(isset($a->o->zz));
var_dump(isset($a->o->text));

Expected result:
----------------
bool(false)
bool(false)

Actual result:
--------------
bool(false)
bool(true)


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=46003&edit=1

Reply via email to