*/
static PHP_INI_MH(OnUpdateDefaultCharset)
{
+ OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage);
+ if (php_internal_encoding_changed) {
+ php_internal_encoding_changed();
+ }
if (new_value) {
- OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage);
- if (php_internal_encoding_changed) {
- php_internal_encoding_changed();
- }
#ifdef PHP_WIN32
php_win32_cp_do_update(ZSTR_VAL(new_value));
#endif
*/
static PHP_INI_MH(OnUpdateInternalEncoding)
{
+ OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage);
+ if (php_internal_encoding_changed) {
+ php_internal_encoding_changed();
+ }
if (new_value) {
- OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage);
- if (php_internal_encoding_changed) {
- php_internal_encoding_changed();
- }
#ifdef PHP_WIN32
php_win32_cp_do_update(ZSTR_VAL(new_value));
#endif
*/
static PHP_INI_MH(OnUpdateInputEncoding)
{
+ OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage);
+ if (php_internal_encoding_changed) {
+ php_internal_encoding_changed();
+ }
if (new_value) {
- OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage);
- if (php_internal_encoding_changed) {
- php_internal_encoding_changed();
- }
#ifdef PHP_WIN32
php_win32_cp_do_update(NULL);
#endif
*/
static PHP_INI_MH(OnUpdateOutputEncoding)
{
+ OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage);
+ if (php_internal_encoding_changed) {
+ php_internal_encoding_changed();
+ }
if (new_value) {
- OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage);
- if (php_internal_encoding_changed) {
- php_internal_encoding_changed();
- }
#ifdef PHP_WIN32
php_win32_cp_do_update(NULL);
#endif