From c6723728dff93c6d4276d32cac7bf2b8465be93a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1t=C3=A9=20Kocsis?= Date: Fri, 5 Feb 2021 20:57:57 +0100 Subject: Generate ext/intl class entries from stubs Closes GH-6670 --- ext/intl/intl_error.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'ext/intl/intl_error.c') diff --git a/ext/intl/intl_error.c b/ext/intl/intl_error.c index 6babe70152..64cf45ce61 100644 --- a/ext/intl/intl_error.c +++ b/ext/intl/intl_error.c @@ -203,17 +203,6 @@ void intl_errors_set_code( intl_error* err, UErrorCode err_code ) } /* }}} */ -void intl_register_IntlException_class( void ) -{ - zend_class_entry ce; - - /* Create and register 'IntlException' class. */ - INIT_CLASS_ENTRY_EX( ce, "IntlException", sizeof( "IntlException" ) - 1, NULL ); - IntlException_ce_ptr = zend_register_internal_class_ex( &ce, - zend_ce_exception ); - IntlException_ce_ptr->create_object = zend_ce_exception->create_object; -} - smart_str intl_parse_error_to_string( UParseError* pe ) { smart_str ret = {0}; -- cgit v1.2.1