|
1 | 1 | /* This is a generated file, edit the .stub.php file instead. |
2 | | - * Stub hash: 7db65d48e4bb68ee221392b522852c6b5ca82917 */ |
| 2 | + * Stub hash: 75747aeb884d19afbe885ea7e384cf087cb3878f */ |
3 | 3 |
|
4 | 4 | ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Ecma_Intl_getCanonicalLocales, 0, 1, IS_ARRAY, 0) |
5 | 5 | ZEND_ARG_OBJ_TYPE_MASK(0, locales, Traversable|Stringable, MAY_BE_ARRAY|MAY_BE_STRING|MAY_BE_NULL, NULL) |
@@ -100,11 +100,6 @@ static const zend_function_entry class_Ecma_Intl_Locale_methods[] = { |
100 | 100 | ZEND_FE_END |
101 | 101 | }; |
102 | 102 |
|
103 | | - |
104 | | -static const zend_function_entry class_Ecma_Intl_Locale_CharacterDirection_methods[] = { |
105 | | - ZEND_FE_END |
106 | | -}; |
107 | | - |
108 | 103 | static zend_class_entry *register_class_Ecma_Intl(void) |
109 | 104 | { |
110 | 105 | zend_class_entry ce, *class_entry; |
@@ -288,20 +283,3 @@ static zend_class_entry *register_class_Ecma_Intl_Locale(zend_class_entry *class |
288 | 283 |
|
289 | 284 | return class_entry; |
290 | 285 | } |
291 | | - |
292 | | -static zend_class_entry *register_class_Ecma_Intl_Locale_CharacterDirection(void) |
293 | | -{ |
294 | | - zend_class_entry *class_entry = zend_register_internal_enum("Ecma\\Intl\\Locale\\CharacterDirection", IS_STRING, class_Ecma_Intl_Locale_CharacterDirection_methods); |
295 | | - |
296 | | - zval enum_case_LeftToRight_value; |
297 | | - zend_string *enum_case_LeftToRight_value_str = zend_string_init("ltr", strlen("ltr"), 1); |
298 | | - ZVAL_STR(&enum_case_LeftToRight_value, enum_case_LeftToRight_value_str); |
299 | | - zend_enum_add_case_cstr(class_entry, "LeftToRight", &enum_case_LeftToRight_value); |
300 | | - |
301 | | - zval enum_case_RightToLeft_value; |
302 | | - zend_string *enum_case_RightToLeft_value_str = zend_string_init("rtl", strlen("rtl"), 1); |
303 | | - ZVAL_STR(&enum_case_RightToLeft_value, enum_case_RightToLeft_value_str); |
304 | | - zend_enum_add_case_cstr(class_entry, "RightToLeft", &enum_case_RightToLeft_value); |
305 | | - |
306 | | - return class_entry; |
307 | | -} |
0 commit comments