summaryrefslogtreecommitdiff
path: root/sapi/cli/php_cli.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2016-03-21 17:15:44 +0100
committerAnatol Belski <ab@php.net>2016-03-21 17:31:26 +0100
commite23a41225fc4ea099b88e7fc450459173443d98f (patch)
tree4ffe214aa897e1e6f1221099de3bf82319e3adad /sapi/cli/php_cli.c
parentcb240fe711ed1f42c539d17d0db8466b7d7e5e85 (diff)
downloadphp-git-e23a41225fc4ea099b88e7fc450459173443d98f.tar.gz
Increase PCRE JIT stack size
It is done by implementing the custom stack usage. This makes the JIT with mode on more compatible with the JIT mode off. Until now, the default PCRE JIT stack was used which is 32kb big by default. There are situations where some patterns would fail with JIT while working correctly without JIT. The starting size of the JIT stack is still set to 32kb, while the max is set to the permissive 256kb (and can be increased up to 1mb). As until now no suchlike bugs regarding JIT were reported, it is expected, that the stack usage will stay by 32kb in most cases. Though providing the custom stack, applications will have more room for some sporadic stack increase, thus more compatibility.
Diffstat (limited to 'sapi/cli/php_cli.c')
0 files changed, 0 insertions, 0 deletions