History log of /PHP-7.4/ext/pcre/php_pcre.c (Results 101 – 125 of 516)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 035a27cb 25-Jun-2017 Nikita Popov

Only compute callback name in error cases

Mostly the callback name is only used to report an error. Try to
avoid calculating it if no error occurred.


Revision tags: php-7.1.7RC1, php-7.0.21RC1, php-7.2.0alpha2
# 71daef93 07-Jun-2017 Dmitry Stogov

preg_replace() optimization


Revision tags: php-7.1.6, php-7.2.0alpha1
# 81a6ee9a 06-Jun-2017 Dmitry Stogov

Avoid string reallocations in preg_quote()


Revision tags: php-7.0.20
# 4f947e1f 02-Jun-2017 Dmitry Stogov

PCRE_EXTRA_MARK is useful only for preg_replace_callbakc().
Removed branch expectations.


# 8dc6b410 02-Jun-2017 Dmitry Stogov

Added support for PCRE JIT fast path API


# 32200e0b 30-May-2017 Dmitry Stogov

Avoid double copying


# c45e3632 30-May-2017 Dmitry Stogov

Don't allocate empty strings, use single interned string instead.


Revision tags: php-7.1.6RC1, php-7.0.20RC1
# 3c43510b 16-May-2017 Nicolas Grekas

add PREG_UNMATCHED_AS_NULL flag to allow distinguish between unmatched subpatterns and empty matches


# dd4a78b6 23-May-2017 Dmitry Stogov

Don't separate output arguments


Revision tags: php-7.1.5, php-7.0.19, php-7.0.19RC1, php-7.1.5RC1, php-7.1.4, php-7.0.18, php-7.1.4RC1, php-7.0.18RC1, php-7.1.3, php-7.0.17, php-7.1.3RC1, php-7.0.17RC1, php-7.1.2, php-7.0.16, php-7.0.16RC1, php-7.1.2RC1, php-5.6.30, php-7.0.15, php-5.6.30RC1, php-7.1.1RC1, php-7.0.15RC1
# dac6c639 04-Jan-2017 Sammy Kaye Powers

Update copyright headers to 2017


# 478f119a 04-Jan-2017 Sammy Kaye Powers

Update copyright headers to 2017


# 9e29f841 02-Jan-2017 Sammy Kaye Powers

Update copyright headers to 2017


Revision tags: php-7.1.1, php-5.6.29, php-7.0.14, php-7.1.0
# 003727d8 26-Nov-2016 Christoph M. Becker

Fix #73612: preg_*() may leak memory

We have to make sure that collectible zvals end up in the GC root
buffer, to avoid memory leaks.


Revision tags: php-5.6.29RC1, php-7.0.14RC1
# 6ee8581a 20-Nov-2016 Xinchen Hui

Removed not used field


# ebfd93f7 20-Nov-2016 Xinchen Hui

Fixed bug #73483 (Segmentation fault on pcre_replace_callback)


Revision tags: php-7.1.0RC6, php-5.6.28, php-7.0.13
# e5aa3651 28-Oct-2016 Xinchen Hui

Fixed bug #73392 (A use-after-free in zend allocator management)


Revision tags: php-5.6.28RC1, php-7.1.0RC5, php-7.0.13RC1, php-7.1.0RC4
# b1fc1fb9 15-Oct-2016 Nikita Popov

Normalize preg_replace_callback() return value

One particular error case was returning the argument without
casting to string.


Revision tags: php-5.6.27, php-7.0.12
# dd604015 13-Oct-2016 Anatol Belski

rename publicly exposed symbol to avoid name conflicts

(cherry picked from commit 730288ae41fe0d40d00b27174b558cf260b1a7df)


# 0362d61a 13-Oct-2016 Stanislav Malyshev

Fix potential overflows in php_pcre_replace_impl

(cherry picked from commit 9c50ba42d6503a5fcfffad6c6823a9bee0e033c0)


# 730288ae 13-Oct-2016 Anatol Belski

rename publicly exposed symbol to avoid name conflicts


# 9c50ba42 13-Oct-2016 Stanislav Malyshev

Fix potential overflows in php_pcre_replace_impl


# 29e2a204 29-Sep-2016 Stanislav Malyshev

Fixed bug #73174 - heap overflow in php_pcre_replace_impl


Revision tags: php-7.1.0RC3, php-5.6.27RC1, php-7.0.12RC1
# 54d8053a 22-Sep-2016 Anatol Belski

Fix bug #73121 Bundled PCRE doesn't compile because JIT isn't supported on s390


Revision tags: php-5.6.26, php-7.1.0RC2, php-7.0.11
# 19866fb7 02-Sep-2016 Stanislav Malyshev

Fix various int size overflows.

Add function for detection of string zvals with length that does not fit
INT_MAX.


# d690014b 11-Sep-2016 Andrea Faulds

Remove zpp fallback code (always use Fast ZPP)

Squashed commit of the following:

commit 3e27fbb3d22b42d181e15c345f1c59a007b6b58c
Author: Andrea Faulds <ajf@ajf.me>
Date: S

Remove zpp fallback code (always use Fast ZPP)

Squashed commit of the following:

commit 3e27fbb3d22b42d181e15c345f1c59a007b6b58c
Author: Andrea Faulds <ajf@ajf.me>
Date: Sun Sep 11 19:14:37 2016 +0100

Keep dummy FAST_ZPP macro for compatibility

commit 8a7cfd00deaa4a3c5026c97580c49c886c72a5b4
Author: Andrea Faulds <ajf@ajf.me>
Date: Mon Sep 5 22:36:03 2016 +0100

Remove FAST_ZPP macro and plain zpp fallback code

show more ...


12345678910>>...21