|
| 1 | +/* This is a generated file, edit the .stub.php file instead. |
| 2 | + * Stub hash: 868093634998e28b498ffe100b93c61ad2000765 */ |
| 3 | + |
| 4 | +ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Ecma_Intl_getCanonicalLocales, 0, 1, IS_ARRAY, 0) |
| 5 | + ZEND_ARG_OBJ_TYPE_MASK(0, locales, Traversable|Stringable, MAY_BE_ARRAY|MAY_BE_STRING|MAY_BE_NULL, NULL) |
| 6 | +ZEND_END_ARG_INFO() |
| 7 | + |
| 8 | +ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Ecma_Intl_supportedValuesOf, 0, 1, IS_ARRAY, 0) |
| 9 | + ZEND_ARG_OBJ_INFO(0, category, Ecma\\Intl\\Category, 0) |
| 10 | +ZEND_END_ARG_INFO() |
| 11 | + |
| 12 | +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Ecma_Intl___construct, 0, 0, 0) |
| 13 | +ZEND_END_ARG_INFO() |
| 14 | + |
| 15 | + |
| 16 | +ZEND_METHOD(Ecma_Intl, getCanonicalLocales); |
| 17 | +ZEND_METHOD(Ecma_Intl, supportedValuesOf); |
| 18 | +ZEND_METHOD(Ecma_Intl, __construct); |
| 19 | + |
| 20 | + |
| 21 | +static const zend_function_entry class_Ecma_Intl_methods[] = { |
| 22 | + ZEND_ME(Ecma_Intl, getCanonicalLocales, arginfo_class_Ecma_Intl_getCanonicalLocales, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC) |
| 23 | + ZEND_ME(Ecma_Intl, supportedValuesOf, arginfo_class_Ecma_Intl_supportedValuesOf, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC) |
| 24 | + ZEND_ME(Ecma_Intl, __construct, arginfo_class_Ecma_Intl___construct, ZEND_ACC_PRIVATE) |
| 25 | + ZEND_FE_END |
| 26 | +}; |
| 27 | + |
| 28 | +static zend_class_entry *register_class_Ecma_Intl(void) |
| 29 | +{ |
| 30 | + zend_class_entry ce, *class_entry; |
| 31 | + |
| 32 | + INIT_NS_CLASS_ENTRY(ce, "Ecma", "Intl", class_Ecma_Intl_methods); |
| 33 | + class_entry = zend_register_internal_class_ex(&ce, NULL); |
| 34 | + class_entry->ce_flags |= ZEND_ACC_FINAL; |
| 35 | + |
| 36 | + zval const_ICU_VERSION_value; |
| 37 | + zend_string *const_ICU_VERSION_value_str = zend_string_init(U_ICU_VERSION, strlen(U_ICU_VERSION), 1); |
| 38 | + ZVAL_STR(&const_ICU_VERSION_value, const_ICU_VERSION_value_str); |
| 39 | + zend_string *const_ICU_VERSION_name = zend_string_init_interned("ICU_VERSION", sizeof("ICU_VERSION") - 1, 1); |
| 40 | + zend_declare_class_constant_ex(class_entry, const_ICU_VERSION_name, &const_ICU_VERSION_value, ZEND_ACC_PUBLIC, NULL); |
| 41 | + zend_string_release(const_ICU_VERSION_name); |
| 42 | + |
| 43 | + zval const_UNICODE_VERSION_value; |
| 44 | + zend_string *const_UNICODE_VERSION_value_str = zend_string_init(U_UNICODE_VERSION, strlen(U_UNICODE_VERSION), 1); |
| 45 | + ZVAL_STR(&const_UNICODE_VERSION_value, const_UNICODE_VERSION_value_str); |
| 46 | + zend_string *const_UNICODE_VERSION_name = zend_string_init_interned("UNICODE_VERSION", sizeof("UNICODE_VERSION") - 1, 1); |
| 47 | + zend_declare_class_constant_ex(class_entry, const_UNICODE_VERSION_name, &const_UNICODE_VERSION_value, ZEND_ACC_PUBLIC, NULL); |
| 48 | + zend_string_release(const_UNICODE_VERSION_name); |
| 49 | + |
| 50 | + return class_entry; |
| 51 | +} |
0 commit comments