summaryrefslogtreecommitdiff
path: root/ext/intl/intl_error.c
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2021-02-05 20:57:57 +0100
committerMáté Kocsis <kocsismate@woohoolabs.com>2021-02-09 13:37:24 +0100
commitc6723728dff93c6d4276d32cac7bf2b8465be93a (patch)
tree5885b48a16e37b21a00814ce91e763b8e81dc7c5 /ext/intl/intl_error.c
parent99b08ac2817672c108149a65509c79baf261e819 (diff)
downloadphp-git-c6723728dff93c6d4276d32cac7bf2b8465be93a.tar.gz
Generate ext/intl class entries from stubs
Closes GH-6670
Diffstat (limited to 'ext/intl/intl_error.c')
-rw-r--r--ext/intl/intl_error.c11
1 files changed, 0 insertions, 11 deletions
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};