Bug #62639 [NEW]: XML structure broken

From: Date: Mon, 23 Jul 2012 11:16:31 +0000
Subject: Bug #62639 [NEW]: XML structure broken
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-172170@lists.php.net to get a copy of this message
From:             alexshock at yandex dot ru
Operating system: debian 6.0.5
PHP version:      5.4.5
Package:          SimpleXML related
Bug Type:         Bug
Bug description:XML structure broken

Description:
------------
In PHP 5.4.0 and higher SimpleXMLElement works strange when trying to
obtain children nodes (see test.php source for details).
Works fine in 5.3.x, I found that this issue occurs after this commit in
php git repo: 1e3b32c777829f61fa9a18278e0647e9112d96ea

Test script:
---------------
https://www.dropbox.com/s/j0i47y7q4n4g0g6/test.php


-- 
Edit bug report at https://bugs.php.net/bug.php?id=62639&edit=1
-- 
Try a snapshot (PHP 5.4):            https://bugs.php.net/fix.php?id=62639&r=trysnapshot54
Try a snapshot (PHP 5.3):            https://bugs.php.net/fix.php?id=62639&r=trysnapshot53
Try a snapshot (trunk):              https://bugs.php.net/fix.php?id=62639&r=trysnapshottrunk
Fixed in SVN:                        https://bugs.php.net/fix.php?id=62639&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=62639&r=needdocs
Fixed in release:                    https://bugs.php.net/fix.php?id=62639&r=alreadyfixed
Need backtrace:                      https://bugs.php.net/fix.php?id=62639&r=needtrace
Need Reproduce Script:               https://bugs.php.net/fix.php?id=62639&r=needscript
Try newer version:                   https://bugs.php.net/fix.php?id=62639&r=oldversion
Not developer issue:                 https://bugs.php.net/fix.php?id=62639&r=support
Expected behavior:                   https://bugs.php.net/fix.php?id=62639&r=notwrong
Not enough info:                     https://bugs.php.net/fix.php?id=62639&r=notenoughinfo
Submitted twice:                     https://bugs.php.net/fix.php?id=62639&r=submittedtwice
register_globals:                    https://bugs.php.net/fix.php?id=62639&r=globals
PHP 4 support discontinued:          https://bugs.php.net/fix.php?id=62639&r=php4
Daylight Savings:                    https://bugs.php.net/fix.php?id=62639&r=dst
IIS Stability:                       https://bugs.php.net/fix.php?id=62639&r=isapi
Install GNU Sed:                     https://bugs.php.net/fix.php?id=62639&r=gnused
Floating point limitations:          https://bugs.php.net/fix.php?id=62639&r=float
No Zend Extensions:                  https://bugs.php.net/fix.php?id=62639&r=nozend
MySQL Configuration Error:           https://bugs.php.net/fix.php?id=62639&r=mysqlcfg



Thread (21 messages)

« previous php.bugs (#172170) next »