Bug #61335 [Ver]: Access to array node returns wrong truth value

From: Date: Tue, 26 May 2015 19:57:30 +0000
Subject: Bug #61335 [Ver]: Access to array node returns wrong truth value
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-192900@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=61335&edit=1 ID: 61335 Updated by: cmb@php.net Reported by: mueller at relog dot ch Summary: Access to array node returns wrong truth value Status: Verified Type: Bug Package: SimpleXML related Operating System: Linux PHP Version: 5.4.0 Block user comment: N Private report: N New Comment: Simplified test case: <http://3v4l.org/bUncK>. Previous Comments: ------------------------------------------------------------------------ [2015-05-26 19:28:24] cmb@php.net Related to bug #67572 and bug #68946. ------------------------------------------------------------------------ [2012-03-13 13:50:26] cschneid at cschneid dot com It seems commit 311171 broke it: http://svn.php.net/viewvc/php/php-src/branches/PHP_5_4/ext/simplexml/simplexml.c?r1=311171&r2=311170&pathrev=311171 ------------------------------------------------------------------------ [2012-03-13 13:19:01] mueller at relog dot ch The other bug is said to have been fixed in svn, however my bug still happens in the current version from svn. ------------------------------------------------------------------------ [2012-03-10 00:00:29] me at ktamura dot com I think this bug is related to https://bugs.php.net/bug.php?id=51615 ------------------------------------------------------------------------ [2012-03-09 18:00:28] mueller at relog dot ch I forgot: Omitting the [0] array access will also fix the problem. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=61335 -- Edit this bug report at https://bugs.php.net/bug.php?id=61335&edit=1

« previous php.bugs (#192900) next »