Browse Source

Fixed an issue that zend-multibyte's behaviour doesn't reflect the change

to mbstring.internal_encoding ini setting.
migration/unlabaled-1.3.2
Moriyoshi Koizumi 24 years ago
parent
commit
e9111e0f9b
  1. 3
      ext/mbstring/mbstring.c

3
ext/mbstring/mbstring.c

@ -576,6 +576,9 @@ static PHP_INI_MH(OnUpdate_mbstring_internal_encoding)
p++;
}
#endif
#ifdef ZEND_MULTIBYTE
zend_multibyte_set_internal_encoding(new_value, new_value_length TSRMLS_CC);
#endif /* ZEND_MULTIBYTE */
} else {
if (new_value != NULL && new_value_length > 0) {
return FAILURE;

Loading…
Cancel
Save