|
| 1 | +/* This is a generated file, edit the .stub.php file instead. |
| 2 | + * Stub hash: a240aabaa65649a7d5a95dc92b9ad0c2752da348 */ |
| 3 | + |
| 4 | +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Ecma_Intl_Locale_Options___construct, 0, 0, 0) |
| 5 | + ZEND_ARG_OBJ_TYPE_MASK(0, calendar, Stringable, MAY_BE_STRING|MAY_BE_NULL, "null") |
| 6 | + ZEND_ARG_OBJ_TYPE_MASK(0, caseFirst, Stringable, MAY_BE_STRING|MAY_BE_FALSE|MAY_BE_NULL, "null") |
| 7 | + ZEND_ARG_OBJ_TYPE_MASK(0, collation, Stringable, MAY_BE_STRING|MAY_BE_NULL, "null") |
| 8 | + ZEND_ARG_OBJ_TYPE_MASK(0, hourCycle, Stringable, MAY_BE_STRING|MAY_BE_NULL, "null") |
| 9 | + ZEND_ARG_OBJ_TYPE_MASK(0, language, Stringable, MAY_BE_STRING|MAY_BE_NULL, "null") |
| 10 | + ZEND_ARG_OBJ_TYPE_MASK(0, numberingSystem, Stringable, MAY_BE_STRING|MAY_BE_NULL, "null") |
| 11 | + ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, numeric, _IS_BOOL, 1, "null") |
| 12 | + ZEND_ARG_OBJ_TYPE_MASK(0, region, Stringable, MAY_BE_STRING|MAY_BE_NULL, "null") |
| 13 | + ZEND_ARG_OBJ_TYPE_MASK(0, script, Stringable, MAY_BE_STRING|MAY_BE_NULL, "null") |
| 14 | +ZEND_END_ARG_INFO() |
| 15 | + |
| 16 | +ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Ecma_Intl_Locale_Options_jsonSerialize, 0, 0, IS_OBJECT, 0) |
| 17 | +ZEND_END_ARG_INFO() |
| 18 | + |
| 19 | +ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_class_Ecma_Intl_Locale_Options_current, 0, 0, MAY_BE_STRING|MAY_BE_BOOL) |
| 20 | +ZEND_END_ARG_INFO() |
| 21 | + |
| 22 | +ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Ecma_Intl_Locale_Options_next, 0, 0, IS_VOID, 0) |
| 23 | +ZEND_END_ARG_INFO() |
| 24 | + |
| 25 | +ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Ecma_Intl_Locale_Options_key, 0, 0, IS_STRING, 0) |
| 26 | +ZEND_END_ARG_INFO() |
| 27 | + |
| 28 | +ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Ecma_Intl_Locale_Options_valid, 0, 0, _IS_BOOL, 0) |
| 29 | +ZEND_END_ARG_INFO() |
| 30 | + |
| 31 | +#define arginfo_class_Ecma_Intl_Locale_Options_rewind arginfo_class_Ecma_Intl_Locale_Options_next |
| 32 | + |
| 33 | + |
| 34 | +ZEND_METHOD(Ecma_Intl_Locale_Options, __construct); |
| 35 | +ZEND_METHOD(Ecma_Intl_Locale_Options, jsonSerialize); |
| 36 | +ZEND_METHOD(Ecma_Intl_Locale_Options, current); |
| 37 | +ZEND_METHOD(Ecma_Intl_Locale_Options, next); |
| 38 | +ZEND_METHOD(Ecma_Intl_Locale_Options, key); |
| 39 | +ZEND_METHOD(Ecma_Intl_Locale_Options, valid); |
| 40 | +ZEND_METHOD(Ecma_Intl_Locale_Options, rewind); |
| 41 | + |
| 42 | + |
| 43 | +static const zend_function_entry class_Ecma_Intl_Locale_Options_methods[] = { |
| 44 | + ZEND_ME(Ecma_Intl_Locale_Options, __construct, arginfo_class_Ecma_Intl_Locale_Options___construct, ZEND_ACC_PUBLIC) |
| 45 | + ZEND_ME(Ecma_Intl_Locale_Options, jsonSerialize, arginfo_class_Ecma_Intl_Locale_Options_jsonSerialize, ZEND_ACC_PUBLIC) |
| 46 | + ZEND_ME(Ecma_Intl_Locale_Options, current, arginfo_class_Ecma_Intl_Locale_Options_current, ZEND_ACC_PUBLIC) |
| 47 | + ZEND_ME(Ecma_Intl_Locale_Options, next, arginfo_class_Ecma_Intl_Locale_Options_next, ZEND_ACC_PUBLIC) |
| 48 | + ZEND_ME(Ecma_Intl_Locale_Options, key, arginfo_class_Ecma_Intl_Locale_Options_key, ZEND_ACC_PUBLIC) |
| 49 | + ZEND_ME(Ecma_Intl_Locale_Options, valid, arginfo_class_Ecma_Intl_Locale_Options_valid, ZEND_ACC_PUBLIC) |
| 50 | + ZEND_ME(Ecma_Intl_Locale_Options, rewind, arginfo_class_Ecma_Intl_Locale_Options_rewind, ZEND_ACC_PUBLIC) |
| 51 | + ZEND_FE_END |
| 52 | +}; |
| 53 | + |
| 54 | +static zend_class_entry *register_class_Ecma_Intl_Locale_Options(zend_class_entry *class_entry_Iterator, zend_class_entry *class_entry_JsonSerializable) |
| 55 | +{ |
| 56 | + zend_class_entry ce, *class_entry; |
| 57 | + |
| 58 | + INIT_NS_CLASS_ENTRY(ce, "Ecma\\Intl\\Locale", "Options", class_Ecma_Intl_Locale_Options_methods); |
| 59 | + class_entry = zend_register_internal_class_ex(&ce, NULL); |
| 60 | + class_entry->ce_flags |= ZEND_ACC_NO_DYNAMIC_PROPERTIES|ZEND_ACC_READONLY_CLASS; |
| 61 | + zend_class_implements(class_entry, 2, class_entry_Iterator, class_entry_JsonSerializable); |
| 62 | + |
| 63 | + zval property_calendar_default_value; |
| 64 | + ZVAL_UNDEF(&property_calendar_default_value); |
| 65 | + zend_string *property_calendar_name = zend_string_init("calendar", sizeof("calendar") - 1, 1); |
| 66 | + zend_declare_typed_property(class_entry, property_calendar_name, &property_calendar_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL)); |
| 67 | + zend_string_release(property_calendar_name); |
| 68 | + |
| 69 | + zval property_caseFirst_default_value; |
| 70 | + ZVAL_UNDEF(&property_caseFirst_default_value); |
| 71 | + zend_string *property_caseFirst_name = zend_string_init("caseFirst", sizeof("caseFirst") - 1, 1); |
| 72 | + zend_declare_typed_property(class_entry, property_caseFirst_name, &property_caseFirst_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL)); |
| 73 | + zend_string_release(property_caseFirst_name); |
| 74 | + |
| 75 | + zval property_collation_default_value; |
| 76 | + ZVAL_UNDEF(&property_collation_default_value); |
| 77 | + zend_string *property_collation_name = zend_string_init("collation", sizeof("collation") - 1, 1); |
| 78 | + zend_declare_typed_property(class_entry, property_collation_name, &property_collation_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL)); |
| 79 | + zend_string_release(property_collation_name); |
| 80 | + |
| 81 | + zval property_hourCycle_default_value; |
| 82 | + ZVAL_UNDEF(&property_hourCycle_default_value); |
| 83 | + zend_string *property_hourCycle_name = zend_string_init("hourCycle", sizeof("hourCycle") - 1, 1); |
| 84 | + zend_declare_typed_property(class_entry, property_hourCycle_name, &property_hourCycle_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL)); |
| 85 | + zend_string_release(property_hourCycle_name); |
| 86 | + |
| 87 | + zval property_language_default_value; |
| 88 | + ZVAL_UNDEF(&property_language_default_value); |
| 89 | + zend_string *property_language_name = zend_string_init("language", sizeof("language") - 1, 1); |
| 90 | + zend_declare_typed_property(class_entry, property_language_name, &property_language_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL)); |
| 91 | + zend_string_release(property_language_name); |
| 92 | + |
| 93 | + zval property_numberingSystem_default_value; |
| 94 | + ZVAL_UNDEF(&property_numberingSystem_default_value); |
| 95 | + zend_string *property_numberingSystem_name = zend_string_init("numberingSystem", sizeof("numberingSystem") - 1, 1); |
| 96 | + zend_declare_typed_property(class_entry, property_numberingSystem_name, &property_numberingSystem_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL)); |
| 97 | + zend_string_release(property_numberingSystem_name); |
| 98 | + |
| 99 | + zval property_numeric_default_value; |
| 100 | + ZVAL_UNDEF(&property_numeric_default_value); |
| 101 | + zend_string *property_numeric_name = zend_string_init("numeric", sizeof("numeric") - 1, 1); |
| 102 | + zend_declare_typed_property(class_entry, property_numeric_name, &property_numeric_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL|MAY_BE_NULL)); |
| 103 | + zend_string_release(property_numeric_name); |
| 104 | + |
| 105 | + zval property_region_default_value; |
| 106 | + ZVAL_UNDEF(&property_region_default_value); |
| 107 | + zend_string *property_region_name = zend_string_init("region", sizeof("region") - 1, 1); |
| 108 | + zend_declare_typed_property(class_entry, property_region_name, &property_region_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL)); |
| 109 | + zend_string_release(property_region_name); |
| 110 | + |
| 111 | + zval property_script_default_value; |
| 112 | + ZVAL_UNDEF(&property_script_default_value); |
| 113 | + zend_string *property_script_name = zend_string_init("script", sizeof("script") - 1, 1); |
| 114 | + zend_declare_typed_property(class_entry, property_script_name, &property_script_default_value, ZEND_ACC_PUBLIC|ZEND_ACC_READONLY, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL)); |
| 115 | + zend_string_release(property_script_name); |
| 116 | + |
| 117 | + return class_entry; |
| 118 | +} |
0 commit comments