summaryrefslogtreecommitdiff
path: root/ext/pcre/tests/grep.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pcre/tests/grep.phpt')
-rw-r--r--ext/pcre/tests/grep.phpt23
1 files changed, 0 insertions, 23 deletions
diff --git a/ext/pcre/tests/grep.phpt b/ext/pcre/tests/grep.phpt
deleted file mode 100644
index d3d9032e49..0000000000
--- a/ext/pcre/tests/grep.phpt
+++ /dev/null
@@ -1,23 +0,0 @@
---TEST--
-preg_grep()
---FILE--
-<?php
-$array = array('a', '1', 'q6', 'h20');
-
-var_dump(preg_grep('/^(\d|.\d)$/', $array));
-var_dump(preg_grep('/^(\d|.\d)$/', $array, PREG_GREP_INVERT));
-
-?>
---EXPECT--
-array(2) {
- [1]=>
- string(1) "1"
- [2]=>
- string(2) "q6"
-}
-array(2) {
- [0]=>
- string(1) "a"
- [3]=>
- string(3) "h20"
-}