mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
![]() 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. |
||
---|---|---|
.. | ||
pcre2lib | ||
tests | ||
config.w32 | ||
config0.m4 | ||
CREDITS | ||
php_pcre.c | ||
php_pcre.def | ||
php_pcre.h | ||
upgrade-pcre.php |