summaryrefslogtreecommitdiff
path: root/tests/lang/bug26696.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lang/bug26696.phpt')
-rw-r--r--tests/lang/bug26696.phpt28
1 files changed, 0 insertions, 28 deletions
diff --git a/tests/lang/bug26696.phpt b/tests/lang/bug26696.phpt
deleted file mode 100644
index e51978b3d2..0000000000
--- a/tests/lang/bug26696.phpt
+++ /dev/null
@@ -1,28 +0,0 @@
---TEST--
-Bug #26696 (string index in a switch() crashes with multiple matches)
---FILE--
-<?php
-
-$str = 'asdd/?';
-$len = strlen($str);
-for ($i = 0; $i < $len; $i++) {
- switch ($str{$i}) {
- case '?':
- echo "OK\n";
- break;
- }
-}
-
-$str = '*';
-switch ($str{0}) {
- case '*';
- echo "OK\n";
- break;
- default:
- echo 'Default RAN!';
-}
-
-?>
---EXPECT--
-OK
-OK