summaryrefslogtreecommitdiff
path: root/ext/intl/php_intl.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/intl/php_intl.c')
-rw-r--r--ext/intl/php_intl.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/intl/php_intl.c b/ext/intl/php_intl.c
index 2b91266e7e..01361ed262 100644
--- a/ext/intl/php_intl.c
+++ b/ext/intl/php_intl.c
@@ -215,7 +215,8 @@ PHP_MINIT_FUNCTION( intl )
spoofchecker_register_constants( INIT_FUNC_ARGS_PASSTHRU );
/* Register 'IntlException' PHP class */
- intl_register_IntlException_class( );
+ IntlException_ce_ptr = register_class_IntlException(zend_ce_exception);
+ IntlException_ce_ptr->create_object = zend_ce_exception->create_object;
/* Register 'IntlIterator' PHP class */
intl_register_IntlIterator_class( );
@@ -224,7 +225,7 @@ PHP_MINIT_FUNCTION( intl )
breakiterator_register_BreakIterator_class( );
/* Register 'IntlPartsIterator' class */
- breakiterator_register_IntlPartsIterator_class( );
+ breakiterator_register_IntlPartsIterator_class();
/* Global error handling. */
intl_error_init( NULL );