Revision tags: php-7.3.13RC1, php-7.2.26RC1, php-7.4.0, php-7.2.25, php-7.3.12, php-7.4.0RC6, php-7.3.12RC1, php-7.2.25RC1, php-7.4.0RC5, php-7.1.33, php-7.2.24, php-7.3.11, php-7.4.0RC4, php-7.3.11RC1, php-7.2.24RC1 |
|
#
a8f60ac9 |
| 08-Oct-2019 |
Sergei Turchanov |
Add pcre_get_compiled_regex_cache_ex() with local_aware flag A new function `pcre_get_compiled_regex_cache_ex()` is introduced, which allows to compile regexp pattern using the "C" local
Add pcre_get_compiled_regex_cache_ex() with local_aware flag A new function `pcre_get_compiled_regex_cache_ex()` is introduced, which allows to compile regexp pattern using the "C" locale instead of a current locale. This will be needed to replace setlocale() usage in fileinfo, which is not thread-safe.
show more ...
|
Revision tags: php-7.4.0RC3, php-7.2.23, php-7.3.10, php-7.4.0RC2, php-7.2.23RC1, php-7.3.10RC1, php-7.4.0RC1, php-7.1.32, php-7.2.22, php-7.3.9, php-7.4.0beta4, php-7.2.22RC1, php-7.3.9RC1, php-7.4.0beta2, php-7.1.31, php-7.2.21, php-7.3.8, php-7.4.0beta1, php-7.2.21RC1, php-7.3.8RC1, php-7.4.0alpha3, php-7.3.7, php-7.2.20, php-7.4.0alpha2, php-7.3.7RC3, php-7.3.7RC2, php-7.2.20RC2 |
|
#
03db04c3 |
| 17-Jun-2019 |
Nikita Popov |
Accept null for preg_quote delimiter argument Related to bug #78163.
|
Revision tags: php-7.4.0alpha1, php-7.3.7RC1, php-7.2.20RC1, php-7.2.19, php-7.3.6, php-7.1.30, php-7.2.19RC1, php-7.3.6RC1, php-7.1.29, php-7.2.18, php-7.3.5, php-7.2.18RC1, php-7.3.5RC1, php-7.2.17, php-7.3.4, php-7.1.28 |
|
#
88460c01 |
| 31-Mar-2019 |
Christoph M. Becker |
Fix #77827: preg_match does not ignore \r in regex flags
|
Revision tags: php-7.3.4RC1, php-7.2.17RC1, php-7.1.27, php-7.3.3, php-7.2.16, php-7.3.3RC1, php-7.2.16RC1, php-7.2.15, php-7.3.2, php-7.2.15RC1, php-7.3.2RC1, php-5.6.40, php-7.1.26, php-7.3.1, php-7.2.14, php-7.2.14RC1, php-7.3.1RC1, php-5.6.39, php-7.1.25, php-7.2.13, php-7.0.33, php-7.3.0, php-7.1.25RC1, php-7.2.13RC1, php-7.3.0RC6, php-7.1.24, php-7.2.12, php-7.3.0RC5, php-7.1.24RC1, php-7.2.12RC1, php-7.3.0RC4, php-7.1.23, php-7.2.11, php-7.3.0RC3, php-7.1.23RC1, php-7.2.11RC1, php-7.3.0RC2, php-5.6.38, php-7.1.22, php-7.3.0RC1, php-7.2.10, php-7.0.32, php-7.1.22RC1, php-7.3.0beta3, php-7.2.10RC1, php-7.1.21, php-7.2.9, php-7.3.0beta2, php-7.1.21RC1, php-7.3.0beta1, php-7.2.9RC1, php-5.6.37, php-7.1.20, php-7.3.0alpha4, php-7.0.31, php-7.2.8, php-7.1.20RC1, php-7.2.8RC1, php-7.3.0alpha3, php-7.3.0alpha2, php-7.1.19, php-7.2.7, php-7.1.19RC1, php-7.3.0alpha1, php-7.2.7RC1, php-7.1.18, php-7.2.6, php-7.2.6RC1, php-7.1.18RC1, php-5.6.36, php-7.2.5, php-7.1.17, php-7.0.30, php-7.1.17RC1, php-7.2.5RC1, php-5.6.35, php-7.0.29, php-7.2.4, php-7.1.16, php-7.1.16RC1, php-7.2.4RC1, php-7.1.15, php-5.6.34, php-7.2.3, php-7.0.28, php-7.2.3RC1, php-7.1.15RC1, php-7.1.14, php-7.2.2, php-7.1.14RC1, php-7.2.2RC1 |
|
#
cfee6828 |
| 09-Jan-2018 |
Dmitry Stogov |
Fixed possible incorrect "mark" usage
|
Revision tags: php-7.1.13, php-5.6.33, php-7.2.1, php-7.0.27 |
|
#
7a7ec01a |
| 02-Jan-2018 |
Xinchen Hui |
year++
|
#
ccd4716e |
| 02-Jan-2018 |
Xinchen Hui |
year++
|
Revision tags: php-7.2.1RC1 |
|
#
1b29dc0b |
| 06-Dec-2017 |
Anatol Belski |
Fix yet one data race in PCRE PCRE 8.x initializes the pattern compiler on demand during the first pcre_study call. It could be worse, but since the compiled patterns are cached, the
Fix yet one data race in PCRE PCRE 8.x initializes the pattern compiler on demand during the first pcre_study call. It could be worse, but since the compiled patterns are cached, the locking impact is minimal. PCRE 10.x always compiles the pattern and thread sanitizer doesn't complain about the compiler initialization, thus the newer PCRE version seems to be unafected.
show more ...
|
#
092fd444 |
| 05-Dec-2017 |
Anatol Belski |
Fix use after free revealed by phpdbg
|
#
75a2ee7f |
| 05-Dec-2017 |
Anatol Belski |
Fixed bug #75601 Thread race in PCRE JIT support
|
#
31b2b14a |
| 05-Dec-2017 |
Anatol Belski |
Fixed bug #75601 Thread race in PCRE JIT support
|
Revision tags: php-7.1.13RC1, php-7.0.27RC1, php-7.2.0, php-7.1.12 |
|
#
8fdef981 |
| 21-Nov-2017 |
Nester |
Fixed #75539 and #74183 - preg_last_error not returning error code after error
|
Revision tags: php-7.0.26 |
|
#
0d133239 |
| 14-Nov-2017 |
Anatol Belski |
Fix UTF check in pcre_grep In this case it loops through different subjects without looking for sub matches and matches are done against the same pattern. Thus, don't reset the UTF c
Fix UTF check in pcre_grep In this case it loops through different subjects without looking for sub matches and matches are done against the same pattern. Thus, don't reset the UTF check flag but use it to check whether JIT should be used and otherwise let PCRE to do the job according to what was saved into the pattern.
show more ...
|
#
3c241ea3 |
| 14-Nov-2017 |
Anatol Belski |
Fix uninitialized flag when JIT is disabled
|
Revision tags: php-7.1.12RC1, php-7.2.0RC6, php-7.0.26RC1, php-7.1.11, php-5.6.32, php-7.2.0RC5, php-7.0.25, php-7.1.11RC1, php-7.2.0RC4, php-7.0.25RC1, php-7.1.10, php-7.2.0RC3, php-7.0.24, php-7.2.0RC2, php-7.1.10RC1, php-7.0.24RC1, php-7.1.9, php-7.2.0RC1, php-7.0.23 |
|
#
ef90e37b |
| 18-Aug-2017 |
Dmitry Stogov |
Fixed bug #75089 (preg_grep() is not reporting PREG_BAD_UTF8_ERROR after first input string)
|
Revision tags: php-7.1.9RC1, php-7.2.0beta3, php-7.0.23RC1, php-7.1.8, php-7.2.0beta2, php-7.0.22, php-7.1.8RC1, php-7.2.0beta1, php-7.0.22RC1 |
|
#
8a287c0e |
| 11-Jul-2017 |
Anatol Belski |
Upgrade bundled PCRE to 8.41 HEADSUP! With PCRE 8.39 the JIT related code was changed in the way, that additional valgrind options became almost unavoidable. Valgrind had it already
Upgrade bundled PCRE to 8.41 HEADSUP! With PCRE 8.39 the JIT related code was changed in the way, that additional valgrind options became almost unavoidable. Valgrind had it already sometimes hard with JIT, now there are seem to be more cases requiring special valgrind options. For this reason, the new configure option --with-pcre-valgrind was introduced. The option is development/debugging only and turns on the Valgrind related pieces in PCRE, so then false positives are avoided to the big part. In addition, run-tests.php was added a new valgrind option, when the leak check is enabled and the test filepath contains pcre. Thus, to debug the code related to PCRE with JIT enabled, two things would likely make sense - configure --with-pcre-valgrind - valgrind option --smc-check=all if run-tests.php is not used The checks so far reveal no new issues.
show more ...
|
#
29653da3 |
| 07-Jul-2017 |
Dmitry Stogov |
Fixed bug #74873 (Minor BC break: PCRE_JIT changes output of preg_match()).
|
Revision tags: php-5.6.31, php-7.0.21, php-7.1.7, php-7.2.0alpha3 |
|
#
f626a783 |
| 27-Jun-2017 |
Dmitry Stogov |
Avoid string duplication in preg_split()
|
#
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
|