#
684ce24e |
| 22-Jun-2018 |
Anatol Belski |
Improve locale character tables handling and reduce pattern cache size If a locale other than C is active, character tables are saved into the compile context. Every compiled pattern wil
Improve locale character tables handling and reduce pattern cache size If a locale other than C is active, character tables are saved into the compile context. Every compiled pattern will have a pointer to the character table, that was present in the context at the time of the pattern compilation. Thus, the cache entries don't need to carry char tables pointer, which reduces their size to 8 bytes on 64-bit. Instead, the generated character tables are tracked in a separate HashTable. If a character table was generated before, it'll be assigned to the compile context when the locale changes. Otherwise a new char table will be generated and cached.
show more ...
|
#
bb2f1a68 |
| 22-Jun-2018 |
Anatol Belski |
Fixed bug #76514 Regression in preg_match makes it fail with PREG_JIT_STACKLIMIT_ERROR Looks like some patterns might require more stack for JIT execution. It is a regression, as the sam
Fixed bug #76514 Regression in preg_match makes it fail with PREG_JIT_STACKLIMIT_ERROR Looks like some patterns might require more stack for JIT execution. It is a regression, as the same pattern was passing using JIT.
show more ...
|
#
71d16fee |
| 21-Jun-2018 |
Christoph M. Becker |
Fix #76512: \w no longer includes unicode characters The migration from PCRE to PCRE2 missed to rename once occurrence of `PCRE_UCP` to `PCRE2_UCP`. We fix that. We also revert the cha
Fix #76512: \w no longer includes unicode characters The migration from PCRE to PCRE2 missed to rename once occurrence of `PCRE_UCP` to `PCRE2_UCP`. We fix that. We also revert the changes to bug52971.phpt which had been incorrectly made in commit a5bc5ae[1]. [1] <http://git.php.net/?p=php-src.git;a=commit;h=a5bc5aed71f7a15f14f33bb31b8e17bf5f327e2d>
show more ...
|
Revision tags: php-7.3.0alpha2, php-7.1.19, php-7.2.7, php-7.1.19RC1, php-7.3.0alpha1, php-7.2.7RC1 |
|
#
5eb1f92f |
| 28-May-2018 |
Dmitry Stogov |
Use zend_string_release_ex() instread of zend_string_release() in places, where we sure about string persistence.
|
Revision tags: 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 |
|
#
28132878 |
| 16-Feb-2018 |
Anatol Belski |
Reduce var scope
|
Revision tags: 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 |
|
#
a6519d05 |
| 02-Jan-2018 |
Xinchen Hui |
year++
|
#
7a7ec01a |
| 02-Jan-2018 |
Xinchen Hui |
year++
|
#
ccd4716e |
| 02-Jan-2018 |
Xinchen Hui |
year++
|
#
856ad54f |
| 27-Dec-2017 |
Dmitry Stogov |
Use zend_hash_find() instead of zend_hash_find_ptr() to avoid double check
|
Revision tags: php-7.2.1RC1, php-7.1.13RC1, php-7.0.27RC1, php-7.2.0, php-7.1.12, php-7.0.26, 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 |
|
#
84235344 |
| 10-Oct-2017 |
Michael Moravec |
Fixed bug #75355: preg_quote() does not quote # control character
|
#
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
|
#
9cca85ff |
| 05-Dec-2017 |
Anatol Belski |
Fixed bug #75601 Thread race in PCRE JIT support
|
#
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
|
#
c029bd33 |
| 21-Nov-2017 |
Anatol Belski |
Fix macro name
|
#
8fdef981 |
| 21-Nov-2017 |
Nester |
Fixed #75539 and #74183 - preg_last_error not returning error code after error
|
#
d0062700 |
| 20-Nov-2017 |
David Carlier |
seemingly a tiny typo error in pcre module.
|
#
26f8fc83 |
| 16-Nov-2017 |
Nikita Popov |
Enable and fix printf() format warnings Add _unchecked() variants of zend_spprintf and zend_strpprintf for cases where we specifically want to disable these checks, such as use of %H.
|
#
ccc12b82 |
| 16-Nov-2017 |
Dmitry Stogov |
Avoid unnecessary reference-counting on strings.
|
#
a370a6af |
| 16-Nov-2017 |
Anatol Belski |
Fix (*NO_JIT) usage when JIT is enabled If (*NO_JIT) is put into the pattern, the JIT compilation will still succeed but produce no code. The pattern will still have to be interprete
Fix (*NO_JIT) usage when JIT is enabled If (*NO_JIT) is put into the pattern, the JIT compilation will still succeed but produce no code. The pattern will still have to be interpreted and is not suitable for the JIT fast path. This means, we still need to check the pattern info after JIT compilation and only set the flags when the JIT code was produced.
show more ...
|
#
ce85d0f2 |
| 15-Nov-2017 |
Anatol Belski |
Add missing ifdef
|
#
691a5a9c |
| 14-Nov-2017 |
Anatol Belski |
Initialize jit global
|
#
91407fb8 |
| 14-Nov-2017 |
Anatol Belski |
Fix wrong return
|