diff options
author | Máté Kocsis <kocsismate@woohoolabs.com> | 2021-02-05 20:57:57 +0100 |
---|---|---|
committer | Máté Kocsis <kocsismate@woohoolabs.com> | 2021-02-09 13:37:24 +0100 |
commit | c6723728dff93c6d4276d32cac7bf2b8465be93a (patch) | |
tree | 5885b48a16e37b21a00814ce91e763b8e81dc7c5 /ext/intl/php_intl.c | |
parent | 99b08ac2817672c108149a65509c79baf261e819 (diff) | |
download | php-git-c6723728dff93c6d4276d32cac7bf2b8465be93a.tar.gz |
Generate ext/intl class entries from stubs
Closes GH-6670
Diffstat (limited to 'ext/intl/php_intl.c')
-rw-r--r-- | ext/intl/php_intl.c | 5 |
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 ); |