mirror of
https://github.com/php/php-src.git
synced 2026-03-28 02:02:32 +01:00
ZTS fix
This commit is contained in:
@@ -1401,7 +1401,7 @@ SPL_METHOD(RegexIterator, accept)
|
||||
use_copy = 0;
|
||||
} else if (intern->current.key_type == HASH_KEY_IS_UNICODE) {
|
||||
subject_len = intern->current.str_key_len - 1;
|
||||
subject = zend_unicode_to_ascii(intern->current.str_key.u, subject_len TSRMLS_DC);
|
||||
subject = zend_unicode_to_ascii(intern->current.str_key.u, subject_len TSRMLS_CC);
|
||||
if (!subject) {
|
||||
/* FIXME: Unicode support??? : how to handle this error, with that exception? */
|
||||
if (intern->u.regex.mode != REGIT_MODE_MATCH) {
|
||||
|
||||
Reference in New Issue
Block a user