--TEST-- SimpleXML: echo/print --SKIPIF-- --FILE-- bar baz1 baz2 EOF; $sxe = simplexml_load_string($xml); echo "===BAR===\n"; echo $sxe->bar; echo "\n"; echo "===BAZ===\n"; echo $sxe->baz; echo "\n"; echo "===BAZ0===\n"; echo $sxe->baz[0]; echo "\n"; echo "===BAZ1===\n"; print $sxe->baz[1]; echo "\n"; ?> --EXPECT-- ===BAR=== bar ===BAZ=== baz1 ===BAZ0=== baz1 ===BAZ1=== baz2