|
|
|
@ -233,7 +233,7 @@ PHP_FUNCTION(unicode_get_subst_char) |
|
|
|
/* }}} */ |
|
|
|
|
|
|
|
/* {{{ proto callback unicode_set_error_handler(callback new_callback) U |
|
|
|
Set (or clear) the unicode conversion error handler */ |
|
|
|
Set (or clear) the custom Unicode conversion error handler */ |
|
|
|
PHP_FUNCTION(unicode_set_error_handler) |
|
|
|
{ |
|
|
|
zval *error_handler; |
|
|
|
@ -279,8 +279,7 @@ PHP_FUNCTION(unicode_set_error_handler) |
|
|
|
/* }}} */ |
|
|
|
|
|
|
|
/* {{{ proto bool unicode_restore_error_handler(void) U |
|
|
|
Restores the active error handler to the one which was previously active |
|
|
|
(Before the last unicode_set_error_handler() call) */ |
|
|
|
Restores the active error handler to the one which was previously active (before the last unicode_set_error_handler() call) */ |
|
|
|
PHP_FUNCTION(unicode_restore_error_handler) |
|
|
|
{ |
|
|
|
if (UG(conv_error_handler)) { |
|
|
|
|