summaryrefslogtreecommitdiff
path: root/ext/pcre/tests/002.phpt
diff options
context:
space:
mode:
authorNikita Popov <nikic@php.net>2012-03-04 13:39:12 +0000
committerNikita Popov <nikic@php.net>2012-03-04 13:39:12 +0000
commitbe202d3d352e82c5d6825772c2709894f2bc4a21 (patch)
tree92d1e048469941c596dc686d7775708cea31dfb8 /ext/pcre/tests/002.phpt
parent67db5de6b215a20683da45a4d45ee715b836832f (diff)
downloadphp-git-be202d3d352e82c5d6825772c2709894f2bc4a21.tar.gz
Deprecate /e modifier
See https://wiki.php.net/rfc/remove_preg_replace_eval_modifier.
Diffstat (limited to 'ext/pcre/tests/002.phpt')
-rw-r--r--ext/pcre/tests/002.phpt2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/pcre/tests/002.phpt b/ext/pcre/tests/002.phpt
index 00f68f3651..fd245633d3 100644
--- a/ext/pcre/tests/002.phpt
+++ b/ext/pcre/tests/002.phpt
@@ -34,6 +34,8 @@ string(12) "a${1b${1c${1"
Warning: preg_replace(): Compilation failed: missing terminating ] for character class at offset 8 in %s002.php on line 11
NULL
+Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in %s on line 12
+
Parse error: %s in %s002.php(12) : regexp code on line 1
Fatal error: preg_replace(): Failed evaluating code: