summaryrefslogtreecommitdiff
path: root/tests/lang/each_binary_safety.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lang/each_binary_safety.phpt')
-rw-r--r--tests/lang/each_binary_safety.phpt13
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/lang/each_binary_safety.phpt b/tests/lang/each_binary_safety.phpt
deleted file mode 100644
index bb13534546..0000000000
--- a/tests/lang/each_binary_safety.phpt
+++ /dev/null
@@ -1,13 +0,0 @@
---TEST--
-Binary safety of each() for both keys and values
---FILE--
-<?php
-error_reporting(E_ALL);
-$arr = array ("foo\0bar" => "foo\0bar");
-while (list($key, $val) = each($arr)) {
- echo strlen($key), ': ';
- echo urlencode($key), ' => ', urlencode($val), "\n";
-}
-?>
---EXPECT--
-7: foo%00bar => foo%00bar