1--TEST-- 2GH-10983 (State-dependant segfault in ReflectionObject::getProperties) 3--EXTENSIONS-- 4simplexml 5--FILE-- 6<?php 7 8$xml = <<<XML 9<form name="test"></form> 10XML; 11 12$simplexml = simplexml_load_string($xml); 13 14var_dump($simplexml['name']); 15$reflector = new ReflectionObject($simplexml['name']); 16$rprops = $reflector->getProperties(); 17 18?> 19--EXPECT-- 20object(SimpleXMLElement)#2 (1) { 21 [0]=> 22 string(4) "test" 23} 24