History log of /PHP-7.1/ext/pcre/php_pcre.c (Results 26 – 50 of 409)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 9e7afa75 16-May-2016 Xinchen Hui

Revert "fix #72143 (preg_replace uses int instead of size_t on zend_string_allocs)"

ABI break

This reverts commit fb951553be0175712f4b757e05004110d7421e04.


# 90f46f2c 14-May-2016 Joe Watkins

fix #72143 (preg_replace uses int instead of size_t on zend_string_allocs)


# fb951553 14-May-2016 Joe Watkins

fix #72143 (preg_replace uses int instead of size_t on zend_string_allocs)


Revision tags: php-5.6.22RC1, php-7.0.7RC1
# 37f7c71f 29-Apr-2016 Dmitry Stogov

Simplified condition


Revision tags: php-7.0.6, php-5.6.21, php-5.5.35, php-5.6.21RC1, php-7.0.6RC1, php-5.6.20, php-5.5.34, php-7.0.5
# 241ba9dc 22-Mar-2016 Anatol Belski

if there's no JIT support, no RINIT is really needed


# e9882396 21-Mar-2016 Anatol Belski

decrease the default PCRE JIT stack to 64K


# e23a4122 21-Mar-2016 Anatol Belski

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

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.

show more ...


Revision tags: php-5.6.20RC1, php-7.0.5RC1
# 5a6da79f 09-Mar-2016 Nikita Popov

Fix bug #71659


Revision tags: php-5.6.19, php-5.5.33, php-7.0.4, php-5.6.19RC1, php-7.0.4RC1
# 336e39f2 07-Feb-2016 Xinchen Hui

Fixed bug #71537 (PCRE segfault from Opcache)


Revision tags: php-5.6.18, php-7.0.3, php-5.5.32, php-5.6.18RC1, php-7.0.3RC1, php-5.6.17, php-5.5.31, php-7.0.2
# 49493a2d 01-Jan-2016 Lior Kaplan

Happy new year (Update copyright to 2016)


Revision tags: php-7.0.2RC1
# 817513af 21-Dec-2015 Xinchen Hui

Fixed bug #71178 (preg_replace with arrays creates [0] in replace array if not already set)


Revision tags: php-5.6.17RC1, php-7.0.1RC1, php-7.0.0, php-5.6.16, php-7.0.0RC8, php-7.0.0RC7, php-5.6.16RC1, php-5.6.15, php-7.0.0RC6, php-7.0.1, php-5.6.15RC1, php-7.0.0RC5, php-5.5.30, php-5.6.14, php-7.0.0RC4
# 560e4fa3 29-Sep-2015 Dmitry Stogov

Removed or simplified incorrect SEPARATE_*() macros usage.


Revision tags: php-5.6.14RC1, php-7.0.0RC3, php-5.6.13, php-7.0.0RC2, php-5.5.29, php-5.4.45
# 03964892 29-Aug-2015 Stanislav Malyshev

Fix bug #70345 (Multiple vulnerabilities related to PCRE functions)


# 1553ce20 25-Aug-2015 Anatol Belski

add some range checks to pcre


Revision tags: php-5.6.13RC1, php-7.0.0RC1
# b9f23c21 13-Aug-2015 Christoph M. Becker

Fix #70232: Incorrect bump-along behavior with \K and empty string match

To do global matching (/g), for every empty match we have to do a second match
with PCRE_NOTEMPTY turned on. That

Fix #70232: Incorrect bump-along behavior with \K and empty string match

To do global matching (/g), for every empty match we have to do a second match
with PCRE_NOTEMPTY turned on. That may fail, however, when the \K escape
sequence is involved. For this purpose libpcre 8.0 introduced the
PCRE_NOTEMPTY_ATSTART flag, which we will use if available, and otherwise fall
back to the old (possibly buggy) behavior.

show more ...


Revision tags: php-5.6.12, php-5.5.28, php-7.0.0beta3, php-5.4.44
# e6f55339 26-Jul-2015 Christoph M. Becker

add new error constant PREG_JIT_STACKLIMIT_ERROR


Revision tags: php-5.6.12RC1, php-7.0.0beta2, php-7.0.0beta1, php-5.6.11, php-5.5.27, php-5.4.43
# 4a2e40bb 30-Jun-2015 Dmitry Stogov

Use ZSTR_ API to access zend_string elements (this is just renaming without semantick changes).


# 4bd22cf1 29-Jun-2015 Dmitry Stogov

Improved zend_string API (Francois Laupretre)

Squashed commit of the following:

commit d96eab8d79b75ac83d49d49ae4665f948d15a804
Author: Francois Laupretre <francois@tekwire.net>

Improved zend_string API (Francois Laupretre)

Squashed commit of the following:

commit d96eab8d79b75ac83d49d49ae4665f948d15a804
Author: Francois Laupretre <francois@tekwire.net>
Date: Fri Jun 26 01:23:31 2015 +0200

Use the new 'ZSTR' macros in the rest of the code.

Does not change anything to the generated code (thanks to compat macros) but cleaner.

commit b3526439104ac7a89a8e0c79dbebf33b22bd01b8
Author: Francois Laupretre <francois@tekwire.net>
Date: Thu Jun 25 13:45:06 2015 +0200

Improve zend_string API

Add missing methods

show more ...


Revision tags: php-5.6.11RC1, php-5.5.27RC1, php-7.0.0alpha2, php-5.5.26, php-7.0.0alpha1, php-5.6.10, php-5.4.42
# 23e25f33 05-Jun-2015 Christoph M. Becker

Fixed Bug #53823 (preg_replace: * qualifier on unicode replace garbles the string)

When advancing after empty matches, php_pcre_match_impl() as well as
php_pcre_replace_impl() always hav

Fixed Bug #53823 (preg_replace: * qualifier on unicode replace garbles the string)

When advancing after empty matches, php_pcre_match_impl() as well as
php_pcre_replace_impl() always have to advance to the next code point when the
u modifier is given, instead of to the next byte.

show more ...


# a39beaa2 23-Jun-2015 Christoph M. Becker

Fixed bug #69864 (Segfault in preg_replace_callback)

When preg_replace_callback() is used, cache entries which are in use must not
be removed. We ensure that by deploying a simple refcou

Fixed bug #69864 (Segfault in preg_replace_callback)

When preg_replace_callback() is used, cache entries which are in use must not
be removed. We ensure that by deploying a simple refcounting mechanism.

show more ...


# 05c24d5d 19-Jun-2015 Xinchen Hui

Fixed Bug #69883 (Compilation failed on PCRE)


# 327e3b33 19-Jun-2015 Xinchen Hui

Micro optimizations for pcre


# 8c8ad8f4 17-Jun-2015 Dmitry Stogov

Use better hash functions (reuse key and avoid hash value recalculation)


Revision tags: POST_PHP7_NSAPI_REMOVAL, PRE_PHP7_NSAPI_REMOVAL, php-5.6.10RC1, php-5.5.26RC1, php-5.5.25, php-5.6.9, php-5.4.41, php-5.6.9RC1, php-5.5.25RC1
# 38d79e94 28-Apr-2015 Xinchen Hui

Drop unused num index


# 770cb1da 21-Apr-2015 Dmitry Stogov

Keep realpath and PCRE caches in consistency with opcache SHM.


12345678910>>...17