summaryrefslogtreecommitdiff
path: root/ext/simplexml/tests/bug26976.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/simplexml/tests/bug26976.phpt')
-rw-r--r--ext/simplexml/tests/bug26976.phpt28
1 files changed, 0 insertions, 28 deletions
diff --git a/ext/simplexml/tests/bug26976.phpt b/ext/simplexml/tests/bug26976.phpt
deleted file mode 100644
index 657c229737..0000000000
--- a/ext/simplexml/tests/bug26976.phpt
+++ /dev/null
@@ -1,28 +0,0 @@
---TEST--
-Bug #26976 (Can not access array elements using array indices)
---SKIPIF--
-<?php if (!extension_loaded("simplexml")) print "skip simplexml extension is not loaded"; ?>
---FILE--
-<?php
-
-$root = simplexml_load_string(
-'<?xml version="1.0"?>
-<root>
- <child>a</child>
- <child>b</child>
- <child>c</child>
- <child>d</child>
-</root>
-');
-
-echo $root->child[0], "\n";
-echo $root->child[1], "\n";
-echo $root->child[2], "\n";
-echo $root->child[3], "\n";
-
-?>
---EXPECT--
-a
-b
-c
-d