Skip to content

Commit f3cfd7a

Browse files
author
Andrei Zmievski
committed
Umm, let's not enable NO_RECURSE by default. The matches on some
patterns can be more than twice as slow as before. # Maybe we should add a --disable-pcre-stack-recursion compile option
1 parent b28c678 commit f3cfd7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/pcre/config0.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ if test "$PHP_PCRE_REGEX" != "no"; then
5050

5151
AC_DEFINE(HAVE_PCRE, 1, [ ])
5252
PHP_ADD_INCLUDE($PCRE_INCDIR)
53-
PHP_NEW_EXTENSION(pcre, php_pcre.c, $ext_shared,,-DSUPPORT_UTF8 -DLINK_SIZE=2 -DPOSIX_MALLOC_THRESHOLD=10 -DNO_RECURSE)
53+
PHP_NEW_EXTENSION(pcre, php_pcre.c, $ext_shared,,-DSUPPORT_UTF8 -DLINK_SIZE=2 -DPOSIX_MALLOC_THRESHOLD=10)
5454
fi
5555
PHP_SUBST(PCRE_SHARED_LIBADD)
5656
fi

0 commit comments

Comments
 (0)