--TEST-- Bug #27010 (segfault and node text not displayed when returned from children()) --SKIPIF-- --FILE-- Coffee Tea Cola Juice EOF; $sxe = simplexml_load_string($xml); foreach ($sxe as $element_name => $element) { print "$element_name is $element->name\n"; } foreach ($sxe->children('http://www.example.com/hot') as $element_name => $element) { print "$element_name is $element->name\n"; } ?> ===DONE=== --EXPECT-- drink is Cola drink is Juice drink is Coffee drink is Tea ===DONE===