diff options
Diffstat (limited to 'ext/simplexml/tests/011.phpt')
-rwxr-xr-x | ext/simplexml/tests/011.phpt | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/ext/simplexml/tests/011.phpt b/ext/simplexml/tests/011.phpt deleted file mode 100755 index f48c9f1eec..0000000000 --- a/ext/simplexml/tests/011.phpt +++ /dev/null @@ -1,47 +0,0 @@ ---TEST-- -SimpleXML and echo/print ---SKIPIF-- -<?php - if (!extension_loaded('simplexml')) print 'skip'; -?> ---FILE-- -<?php - -$xml =<<<EOF -<?xml version="1.0" encoding="ISO-8859-1" ?> -<foo> - <bar>bar</bar> - <baz>baz1</baz> - <baz>baz2</baz> -</foo> -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"; -?> -===DONE=== ---EXPECT-- -===BAR=== -bar -===BAZ=== -baz1 -===BAZ0=== -baz1 -===BAZ1=== -baz2 -===DONE=== |