diff options
author | SVN Migration <svn@php.net> | 2004-01-25 12:03:25 +0000 |
---|---|---|
committer | SVN Migration <svn@php.net> | 2004-01-25 12:03:25 +0000 |
commit | 22476b36ce621bdd115493bab84cbe706e422a7c (patch) | |
tree | 1124d1c5af68860a78c2252bb0dac63c9f18156e /ext/simplexml/tests/003.phpt | |
parent | eb7aca4ea896b09cb9afc2466a46f4720acc4a4e (diff) | |
download | php-git-php_ibase_before_split.tar.gz |
This commit was manufactured by cvs2svn to create tagphp_ibase_before_split
'php_ibase_before_split'.
Diffstat (limited to 'ext/simplexml/tests/003.phpt')
-rwxr-xr-x | ext/simplexml/tests/003.phpt | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/ext/simplexml/tests/003.phpt b/ext/simplexml/tests/003.phpt deleted file mode 100755 index 0924fd044f..0000000000 --- a/ext/simplexml/tests/003.phpt +++ /dev/null @@ -1,69 +0,0 @@ ---TEST-- -SimpleXML and Entities ---SKIPIF-- -<?php if (!extension_loaded("simplexml")) print "skip"; ?> ---FILE-- -<?php - -$xml =<<<EOF -<?xml version='1.0'?> -<!DOCTYPE sxe SYSTEM "notfound.dtd" [ -<!ENTITY included-entity "This is text included from an entity"> -]> -<sxe id="elem1"> - Plain text. - <elem1 attr1='first'> - <!-- comment --> - <elem2> - <elem3> - &included-entity; - <elem4> - <?test processing instruction ?> - </elem4> - </elem3> - </elem2> - </elem1> -</sxe> -EOF; - -$sxe = simplexml_load_string($xml); - -print_r($sxe); - -echo "---Done---\n"; - -?> ---EXPECT-- -simplexml_element Object -( - [elem1] => simplexml_element Object - ( - [comment] => simplexml_element Object - ( - ) - - [elem2] => simplexml_element Object - ( - [elem3] => simplexml_element Object - ( - [included-entity] => simplexml_element Object - ( - [included-entity] => This is text included from an entity - ) - - [elem4] => simplexml_element Object - ( - [test] => simplexml_element Object - ( - ) - - ) - - ) - - ) - - ) - -) ----Done--- |