summaryrefslogtreecommitdiff
path: root/ext/simplexml/tests/021.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/simplexml/tests/021.phpt')
-rw-r--r--ext/simplexml/tests/021.phpt25
1 files changed, 0 insertions, 25 deletions
diff --git a/ext/simplexml/tests/021.phpt b/ext/simplexml/tests/021.phpt
deleted file mode 100644
index e58e26d6ee..0000000000
--- a/ext/simplexml/tests/021.phpt
+++ /dev/null
@@ -1,25 +0,0 @@
---TEST--
-SimpleXML element check
---SKIPIF--
-<?php if (!extension_loaded("simplexml")) print "skip"; ?>
---FILE--
-<?php
-
-$ok = 1;
-$doc = simplexml_load_string('<root><exists>foo</exists></root>');
-if(!isset($doc->exists)) {
- $ok *= 0;
-}
-if(isset($doc->doesnotexist)) {
- $ok *= 0;
-}
-if ($ok) {
- print "Works\n";
-} else {
- print "Error\n";
-}
-?>
-===DONE===
---EXPECT--
-Works
-===DONE===