summaryrefslogtreecommitdiff
path: root/ext/mbstring/php_mbregex.c
diff options
context:
space:
mode:
authorChristoph M. Becker <cmb@php.net>2016-07-28 13:09:09 +0200
committerChristoph M. Becker <cmb@php.net>2016-07-28 13:12:40 +0200
commit18a37eeeece3c8ff88a5c9fff0bc3871cbe37c17 (patch)
treec87352380cdb604d10fd6fafd7140c4589206555 /ext/mbstring/php_mbregex.c
parentc7a4e37d9771ec212ad58fa344b380cbe6aa92a1 (diff)
parentd276e6a8386a68d57d5dd07c3d7e15de4b03c6b3 (diff)
downloadphp-git-18a37eeeece3c8ff88a5c9fff0bc3871cbe37c17.tar.gz
Merge branch 'PHP-5.6' into PHP-7.0
# Resolved conflicts: # ext/mbstring/php_mbregex.c
Diffstat (limited to 'ext/mbstring/php_mbregex.c')
-rw-r--r--ext/mbstring/php_mbregex.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/ext/mbstring/php_mbregex.c b/ext/mbstring/php_mbregex.c
index 573a5e9b9c..95932e31ae 100644
--- a/ext/mbstring/php_mbregex.c
+++ b/ext/mbstring/php_mbregex.c
@@ -1246,9 +1246,6 @@ _php_mb_regex_ereg_search_exec(INTERNAL_FUNCTION_PARAMETERS, int mode)
php_error_docref(NULL, E_WARNING, "mbregex search failure in mbregex_search(): %s", err_str);
RETVAL_FALSE;
} else {
- if (MBREX(search_regs)->beg[0] == MBREX(search_regs)->end[0]) {
- php_error_docref(NULL, E_WARNING, "Empty regular expression");
- }
switch (mode) {
case 1:
array_init(return_value);