summaryrefslogtreecommitdiff
path: root/ext/intl/formatter/formatter_arginfo.h
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/formatter/formatter_arginfo.h
parent99b08ac2817672c108149a65509c79baf261e819 (diff)
downloadphp-git-c6723728dff93c6d4276d32cac7bf2b8465be93a.tar.gz
Generate ext/intl class entries from stubs
Closes GH-6670
Diffstat (limited to 'ext/intl/formatter/formatter_arginfo.h')
-rw-r--r--ext/intl/formatter/formatter_arginfo.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/ext/intl/formatter/formatter_arginfo.h b/ext/intl/formatter/formatter_arginfo.h
index 79f977fb81..c30f2ad215 100644
--- a/ext/intl/formatter/formatter_arginfo.h
+++ b/ext/intl/formatter/formatter_arginfo.h
@@ -1,5 +1,5 @@
/* This is a generated file, edit the .stub.php file instead.
- * Stub hash: 0f285bbaa6f4f37060eb8325956f41bd86e9dea3 */
+ * Stub hash: 2a232c97981e23bec14f03e564a7ec3d7fedc31e */
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_NumberFormatter___construct, 0, 0, 2)
ZEND_ARG_TYPE_INFO(0, locale, IS_STRING, 0)
@@ -111,3 +111,14 @@ static const zend_function_entry class_NumberFormatter_methods[] = {
ZEND_ME_MAPPING(getErrorMessage, numfmt_get_error_message, arginfo_class_NumberFormatter_getErrorMessage, ZEND_ACC_PUBLIC)
ZEND_FE_END
};
+
+zend_class_entry *register_class_NumberFormatter()
+{
+ zend_class_entry ce, *class_entry;
+
+ INIT_CLASS_ENTRY(ce, "NumberFormatter", class_NumberFormatter_methods);
+ class_entry = zend_register_internal_class_ex(&ce, NULL);
+
+ return class_entry;
+}
+