mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
If there's no setlocale, char tables are not used
This commit is contained in:
parent
b592cd7b98
commit
aa92d42018
1 changed files with 2 additions and 0 deletions
|
@ -544,7 +544,9 @@ PHPAPI pcre_cache_entry* pcre_get_compiled_regex_cache(zend_string *regex)
|
||||||
char *pattern;
|
char *pattern;
|
||||||
size_t pattern_len;
|
size_t pattern_len;
|
||||||
uint32_t poptions = 0;
|
uint32_t poptions = 0;
|
||||||
|
#if HAVE_SETLOCALE
|
||||||
const uint8_t *tables = NULL;
|
const uint8_t *tables = NULL;
|
||||||
|
#endif
|
||||||
zval *zv;
|
zval *zv;
|
||||||
pcre_cache_entry new_entry;
|
pcre_cache_entry new_entry;
|
||||||
int rc;
|
int rc;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue