#34140 [Opn->Fbk]: Bug # 28444 is back again in 5.0.4
| From: | tony2001@php.net | Date: | Mon, 15 Aug 2005 20:10:42 +0000 |
| Subject: | #34140 [Opn->Fbk]: Bug # 28444 is back again in 5.0.4 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-83609@lists.php.net to get a copy of this message | ||
ID: 34140
Updated by: tony2001@php.net
Reported By: gary at garycarr dot net
-Status: Open
+Status: Feedback
Bug Type: Unknown/Other Function
Operating System: Linux
PHP Version: 5.0.4
New Comment:
#28444 was fixed exactly in *5.0.4*.
Please provide a short but complete reproduce script that doesn't
require any external resources. It would be good if the script would
fit in max 20 lines.
Previous Comments:
------------------------------------------------------------------------
[2005-08-15 22:07:19] gary at garycarr dot net
Description:
------------
bug #28444 is back again, it was fixed in 5.0.3, but now is back again
in 5.0.4. This is a duplicate bug, but it has been fixed and now is
problem again, resubmitting for that reason.
Reproduce code:
---------------
$query = '//menus';
$nodelist = $xpath->query($query);
if (isset($nodelist)) {
foreach ($nodelist as $node){
if ($node->hasAttributes()){
foreach ($node->attributes as $attribute) {
echo nl2br(print_r($attribute,true));
}
}
}
}
Expected result:
----------------
the details of each $attribute;
Actual result:
--------------
PHP Error "Cannot access undefined property for object with overloaded
property access" on foreach line...
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34140&edit=1