Generate ext/intl class entries from stubs

Closes GH-6670
This commit is contained in:
Máté Kocsis 2021-02-05 20:57:57 +01:00
parent 99b08ac281
commit c6723728df
No known key found for this signature in database
GPG key ID: FD055E41728BF310
44 changed files with 276 additions and 157 deletions

View file

@ -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 );