SimpleXML attribute mismatch
commite6bbf57d811c0d23baf8358083a0f838a3bf520b
authorSean Cannella <seanc@fb.com>
Tue, 24 Sep 2013 18:29:03 +0000 (24 11:29 -0700)
committerSara Golemon <sgolemon@fb.com>
Wed, 25 Sep 2013 18:47:01 +0000 (25 11:47 -0700)
tree9bbc00498b6d0bd00bc203ff7555b84448d80e42
parentc7568005385b1338bc3edab59817b5d8e499350d
SimpleXML attribute mismatch

Fix issue and add test re: child attributes not matching upon
return from addChild and enumerating directly. This breaks two other
tests, but these are of lower priority.

Reviewed By: @ptarjan

Differential Revision: D982083
hphp/runtime/ext/ext_simplexml.cpp
hphp/test/slow/simple_xml/add_child.php.disabled [moved from hphp/test/slow/simple_xml/add_child.php with 100% similarity]
hphp/test/slow/simple_xml/array_cast_with_strings.php.disabled [moved from hphp/test/slow/simple_xml/array_cast_with_strings.php with 100% similarity]
hphp/test/slow/simple_xml/child_attribute_match.php [new file with mode: 0644]
hphp/test/slow/simple_xml/child_attribute_match.php.expect [new file with mode: 0644]