summaryrefslogtreecommitdiff
path: root/ext/simplexml/tests/bug27010.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/simplexml/tests/bug27010.phpt')
-rwxr-xr-xext/simplexml/tests/bug27010.phpt34
1 files changed, 0 insertions, 34 deletions
diff --git a/ext/simplexml/tests/bug27010.phpt b/ext/simplexml/tests/bug27010.phpt
deleted file mode 100755
index 364ca4675f..0000000000
--- a/ext/simplexml/tests/bug27010.phpt
+++ /dev/null
@@ -1,34 +0,0 @@
---TEST--
-Bug #27010 (segfault and node text not displayed when returned from children())
---SKIPIF--
-<?php if (!extension_loaded("simplexml")) print "skip"; ?>
---FILE--
-<?php
-
-$xml=<<<EOF
-<drinks xmlns:hot="http://www.example.com/hot">
- <hot:drink><hot:name>Coffee</hot:name></hot:drink>
- <hot:drink><hot:name>Tea</hot:name></hot:drink>
- <drink><name>Cola</name></drink>
- <drink><name>Juice</name></drink>
-</drinks>
-EOF;
-
-$sxe = simplexml_load_string($xml);
-
-foreach ($sxe as $element_name => $element) {
- print "$element_name is $element->name\n";
-}
-
-foreach ($sxe->children('http://www.example.com/hot') as $element_name => $element) {
- print "$element_name is $element->name\n";
-}
-
-?>
-===DONE===
---EXPECT--
-drink is Cola
-drink is Juice
-drink is Coffee
-drink is Tea
-===DONE===