diff options
Diffstat (limited to 'ext/simplexml/tests/020.phpt')
-rwxr-xr-x | ext/simplexml/tests/020.phpt | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/ext/simplexml/tests/020.phpt b/ext/simplexml/tests/020.phpt deleted file mode 100755 index a2a328736c..0000000000 --- a/ext/simplexml/tests/020.phpt +++ /dev/null @@ -1,21 +0,0 @@ ---TEST-- -SimpleXML attribute compared to string ---SKIPIF-- -<?php if (!extension_loaded("simplexml")) print "skip"; ?> ---FILE-- -<?php - -$doc = simplexml_load_string('<root><name attr="foo">bar</name></root>'); -print $doc->name["attr"]; -print "\n"; -if ($doc->name["attr"] == "foo") { - print "Works\n"; -} else { - print "Error\n"; -} -?> -===DONE=== ---EXPECT-- -foo -Works -===DONE=== |