1 /* This is a generated file, edit the .stub.php file instead.
2 * Stub hash: ff6d6bb0789c719625f4271bf9ce1c12eea5c95e */
3
4 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_IntlTimeZone___construct, 0, 0, 0)
5 ZEND_END_ARG_INFO()
6
7 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_IntlTimeZone_countEquivalentIDs, 0, 1, MAY_BE_LONG|MAY_BE_FALSE)
8 ZEND_ARG_TYPE_INFO(0, timezoneId, IS_STRING, 0)
9 ZEND_END_ARG_INFO()
10
11 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_IntlTimeZone_createDefault, 0, 0, IntlTimeZone, 0)
12 ZEND_END_ARG_INFO()
13
14 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_TYPE_MASK_EX(arginfo_class_IntlTimeZone_createEnumeration, 0, 0, IntlIterator, MAY_BE_FALSE)
15 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, countryOrRawOffset, "null")
16 ZEND_END_ARG_INFO()
17
18 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_IntlTimeZone_createTimeZone, 0, 1, IntlTimeZone, 1)
19 ZEND_ARG_TYPE_INFO(0, timezoneId, IS_STRING, 0)
20 ZEND_END_ARG_INFO()
21
22 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_TYPE_MASK_EX(arginfo_class_IntlTimeZone_createTimeZoneIDEnumeration, 0, 1, IntlIterator, MAY_BE_FALSE)
23 ZEND_ARG_TYPE_INFO(0, type, IS_LONG, 0)
24 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, region, IS_STRING, 1, "null")
25 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, rawOffset, IS_LONG, 1, "null")
26 ZEND_END_ARG_INFO()
27
28 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_IntlTimeZone_fromDateTimeZone, 0, 1, IntlTimeZone, 1)
29 ZEND_ARG_OBJ_INFO(0, timezone, DateTimeZone, 0)
30 ZEND_END_ARG_INFO()
31
32 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_IntlTimeZone_getCanonicalID, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
33 ZEND_ARG_TYPE_INFO(0, timezoneId, IS_STRING, 0)
34 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, isSystemId, "null")
35 ZEND_END_ARG_INFO()
36
37 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_IntlTimeZone_getDisplayName, 0, 0, MAY_BE_STRING|MAY_BE_FALSE)
38 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, dst, _IS_BOOL, 0, "false")
39 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, style, IS_LONG, 0, "IntlTimeZone::DISPLAY_LONG")
40 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, locale, IS_STRING, 1, "null")
41 ZEND_END_ARG_INFO()
42
43 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_IntlTimeZone_getDSTSavings, 0, 0, IS_LONG, 0)
44 ZEND_END_ARG_INFO()
45
46 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_IntlTimeZone_getEquivalentID, 0, 2, MAY_BE_STRING|MAY_BE_FALSE)
47 ZEND_ARG_TYPE_INFO(0, timezoneId, IS_STRING, 0)
48 ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0)
49 ZEND_END_ARG_INFO()
50
51 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_IntlTimeZone_getErrorCode, 0, 0, MAY_BE_LONG|MAY_BE_FALSE)
52 ZEND_END_ARG_INFO()
53
54 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_IntlTimeZone_getErrorMessage, 0, 0, MAY_BE_STRING|MAY_BE_FALSE)
55 ZEND_END_ARG_INFO()
56
57 #define arginfo_class_IntlTimeZone_getGMT arginfo_class_IntlTimeZone_createDefault
58
59 #if U_ICU_VERSION_MAJOR_NUM >= 74
60 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_class_IntlTimeZone_getIanaID, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
61 ZEND_ARG_TYPE_INFO(0, timezoneId, IS_STRING, 0)
62 ZEND_END_ARG_INFO()
63 #endif
64
65 #define arginfo_class_IntlTimeZone_getID arginfo_class_IntlTimeZone_getErrorMessage
66
67 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_IntlTimeZone_getOffset, 0, 4, _IS_BOOL, 0)
68 ZEND_ARG_TYPE_INFO(0, timestamp, IS_DOUBLE, 0)
69 ZEND_ARG_TYPE_INFO(0, local, _IS_BOOL, 0)
70 ZEND_ARG_INFO(1, rawOffset)
71 ZEND_ARG_INFO(1, dstOffset)
72 ZEND_END_ARG_INFO()
73
74 #define arginfo_class_IntlTimeZone_getRawOffset arginfo_class_IntlTimeZone_getDSTSavings
75
76 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_IntlTimeZone_getRegion, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
77 ZEND_ARG_TYPE_INFO(0, timezoneId, IS_STRING, 0)
78 ZEND_END_ARG_INFO()
79
80 #define arginfo_class_IntlTimeZone_getTZDataVersion arginfo_class_IntlTimeZone_getErrorMessage
81
82 #define arginfo_class_IntlTimeZone_getUnknown arginfo_class_IntlTimeZone_createDefault
83
84 #if U_ICU_VERSION_MAJOR_NUM >= 52
85 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_IntlTimeZone_getWindowsID, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
86 ZEND_ARG_TYPE_INFO(0, timezoneId, IS_STRING, 0)
87 ZEND_END_ARG_INFO()
88
89 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_IntlTimeZone_getIDForWindowsID, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
90 ZEND_ARG_TYPE_INFO(0, timezoneId, IS_STRING, 0)
91 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, region, IS_STRING, 1, "null")
92 ZEND_END_ARG_INFO()
93 #endif
94
95 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_IntlTimeZone_hasSameRules, 0, 1, _IS_BOOL, 0)
96 ZEND_ARG_OBJ_INFO(0, other, IntlTimeZone, 0)
97 ZEND_END_ARG_INFO()
98
99 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_TYPE_MASK_EX(arginfo_class_IntlTimeZone_toDateTimeZone, 0, 0, DateTimeZone, MAY_BE_FALSE)
100 ZEND_END_ARG_INFO()
101
102 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_IntlTimeZone_useDaylightTime, 0, 0, _IS_BOOL, 0)
103 ZEND_END_ARG_INFO()
104
105 ZEND_METHOD(IntlTimeZone, __construct);
106 ZEND_FUNCTION(intltz_count_equivalent_ids);
107 ZEND_FUNCTION(intltz_create_default);
108 ZEND_FUNCTION(intltz_create_enumeration);
109 ZEND_FUNCTION(intltz_create_time_zone);
110 ZEND_FUNCTION(intltz_create_time_zone_id_enumeration);
111 ZEND_FUNCTION(intltz_from_date_time_zone);
112 ZEND_FUNCTION(intltz_get_canonical_id);
113 ZEND_FUNCTION(intltz_get_display_name);
114 ZEND_FUNCTION(intltz_get_dst_savings);
115 ZEND_FUNCTION(intltz_get_equivalent_id);
116 ZEND_FUNCTION(intltz_get_error_code);
117 ZEND_FUNCTION(intltz_get_error_message);
118 ZEND_FUNCTION(intltz_get_gmt);
119 #if U_ICU_VERSION_MAJOR_NUM >= 74
120 ZEND_FUNCTION(intltz_get_iana_id);
121 #endif
122 ZEND_FUNCTION(intltz_get_id);
123 ZEND_FUNCTION(intltz_get_offset);
124 ZEND_FUNCTION(intltz_get_raw_offset);
125 ZEND_FUNCTION(intltz_get_region);
126 ZEND_FUNCTION(intltz_get_tz_data_version);
127 ZEND_FUNCTION(intltz_get_unknown);
128 #if U_ICU_VERSION_MAJOR_NUM >= 52
129 ZEND_FUNCTION(intltz_get_windows_id);
130 ZEND_FUNCTION(intltz_get_id_for_windows_id);
131 #endif
132 ZEND_FUNCTION(intltz_has_same_rules);
133 ZEND_FUNCTION(intltz_to_date_time_zone);
134 ZEND_FUNCTION(intltz_use_daylight_time);
135
136 static const zend_function_entry class_IntlTimeZone_methods[] = {
137 ZEND_ME(IntlTimeZone, __construct, arginfo_class_IntlTimeZone___construct, ZEND_ACC_PRIVATE)
138 ZEND_RAW_FENTRY("countEquivalentIDs", zif_intltz_count_equivalent_ids, arginfo_class_IntlTimeZone_countEquivalentIDs, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC, NULL, NULL)
139 ZEND_RAW_FENTRY("createDefault", zif_intltz_create_default, arginfo_class_IntlTimeZone_createDefault, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC, NULL, NULL)
140 ZEND_RAW_FENTRY("createEnumeration", zif_intltz_create_enumeration, arginfo_class_IntlTimeZone_createEnumeration, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC, NULL, NULL)
141 ZEND_RAW_FENTRY("createTimeZone", zif_intltz_create_time_zone, arginfo_class_IntlTimeZone_createTimeZone, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC, NULL, NULL)
142 ZEND_RAW_FENTRY("createTimeZoneIDEnumeration", zif_intltz_create_time_zone_id_enumeration, arginfo_class_IntlTimeZone_createTimeZoneIDEnumeration, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC, NULL, NULL)
143 ZEND_RAW_FENTRY("fromDateTimeZone", zif_intltz_from_date_time_zone, arginfo_class_IntlTimeZone_fromDateTimeZone, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC, NULL, NULL)
144 ZEND_RAW_FENTRY("getCanonicalID", zif_intltz_get_canonical_id, arginfo_class_IntlTimeZone_getCanonicalID, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC, NULL, NULL)
145 ZEND_RAW_FENTRY("getDisplayName", zif_intltz_get_display_name, arginfo_class_IntlTimeZone_getDisplayName, ZEND_ACC_PUBLIC, NULL, NULL)
146 ZEND_RAW_FENTRY("getDSTSavings", zif_intltz_get_dst_savings, arginfo_class_IntlTimeZone_getDSTSavings, ZEND_ACC_PUBLIC, NULL, NULL)
147 ZEND_RAW_FENTRY("getEquivalentID", zif_intltz_get_equivalent_id, arginfo_class_IntlTimeZone_getEquivalentID, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC, NULL, NULL)
148 ZEND_RAW_FENTRY("getErrorCode", zif_intltz_get_error_code, arginfo_class_IntlTimeZone_getErrorCode, ZEND_ACC_PUBLIC, NULL, NULL)
149 ZEND_RAW_FENTRY("getErrorMessage", zif_intltz_get_error_message, arginfo_class_IntlTimeZone_getErrorMessage, ZEND_ACC_PUBLIC, NULL, NULL)
150 ZEND_RAW_FENTRY("getGMT", zif_intltz_get_gmt, arginfo_class_IntlTimeZone_getGMT, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC, NULL, NULL)
151 #if U_ICU_VERSION_MAJOR_NUM >= 74
152 ZEND_RAW_FENTRY("getIanaID", zif_intltz_get_iana_id, arginfo_class_IntlTimeZone_getIanaID, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC, NULL, NULL)
153 #endif
154 ZEND_RAW_FENTRY("getID", zif_intltz_get_id, arginfo_class_IntlTimeZone_getID, ZEND_ACC_PUBLIC, NULL, NULL)
155 ZEND_RAW_FENTRY("getOffset", zif_intltz_get_offset, arginfo_class_IntlTimeZone_getOffset, ZEND_ACC_PUBLIC, NULL, NULL)
156 ZEND_RAW_FENTRY("getRawOffset", zif_intltz_get_raw_offset, arginfo_class_IntlTimeZone_getRawOffset, ZEND_ACC_PUBLIC, NULL, NULL)
157 ZEND_RAW_FENTRY("getRegion", zif_intltz_get_region, arginfo_class_IntlTimeZone_getRegion, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC, NULL, NULL)
158 ZEND_RAW_FENTRY("getTZDataVersion", zif_intltz_get_tz_data_version, arginfo_class_IntlTimeZone_getTZDataVersion, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC, NULL, NULL)
159 ZEND_RAW_FENTRY("getUnknown", zif_intltz_get_unknown, arginfo_class_IntlTimeZone_getUnknown, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC, NULL, NULL)
160 #if U_ICU_VERSION_MAJOR_NUM >= 52
161 ZEND_RAW_FENTRY("getWindowsID", zif_intltz_get_windows_id, arginfo_class_IntlTimeZone_getWindowsID, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC, NULL, NULL)
162 ZEND_RAW_FENTRY("getIDForWindowsID", zif_intltz_get_id_for_windows_id, arginfo_class_IntlTimeZone_getIDForWindowsID, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC, NULL, NULL)
163 #endif
164 ZEND_RAW_FENTRY("hasSameRules", zif_intltz_has_same_rules, arginfo_class_IntlTimeZone_hasSameRules, ZEND_ACC_PUBLIC, NULL, NULL)
165 ZEND_RAW_FENTRY("toDateTimeZone", zif_intltz_to_date_time_zone, arginfo_class_IntlTimeZone_toDateTimeZone, ZEND_ACC_PUBLIC, NULL, NULL)
166 ZEND_RAW_FENTRY("useDaylightTime", zif_intltz_use_daylight_time, arginfo_class_IntlTimeZone_useDaylightTime, ZEND_ACC_PUBLIC, NULL, NULL)
167 ZEND_FE_END
168 };
169
register_class_IntlTimeZone(void)170 static zend_class_entry *register_class_IntlTimeZone(void)
171 {
172 zend_class_entry ce, *class_entry;
173
174 INIT_CLASS_ENTRY(ce, "IntlTimeZone", class_IntlTimeZone_methods);
175 class_entry = zend_register_internal_class_with_flags(&ce, NULL, ZEND_ACC_NOT_SERIALIZABLE);
176
177 zval const_DISPLAY_SHORT_value;
178 ZVAL_LONG(&const_DISPLAY_SHORT_value, TimeZone::SHORT);
179 zend_string *const_DISPLAY_SHORT_name = zend_string_init_interned("DISPLAY_SHORT", sizeof("DISPLAY_SHORT") - 1, 1);
180 zend_declare_typed_class_constant(class_entry, const_DISPLAY_SHORT_name, &const_DISPLAY_SHORT_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
181 zend_string_release(const_DISPLAY_SHORT_name);
182
183 zval const_DISPLAY_LONG_value;
184 ZVAL_LONG(&const_DISPLAY_LONG_value, TimeZone::LONG);
185 zend_string *const_DISPLAY_LONG_name = zend_string_init_interned("DISPLAY_LONG", sizeof("DISPLAY_LONG") - 1, 1);
186 zend_declare_typed_class_constant(class_entry, const_DISPLAY_LONG_name, &const_DISPLAY_LONG_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
187 zend_string_release(const_DISPLAY_LONG_name);
188
189 zval const_DISPLAY_SHORT_GENERIC_value;
190 ZVAL_LONG(&const_DISPLAY_SHORT_GENERIC_value, TimeZone::SHORT_GENERIC);
191 zend_string *const_DISPLAY_SHORT_GENERIC_name = zend_string_init_interned("DISPLAY_SHORT_GENERIC", sizeof("DISPLAY_SHORT_GENERIC") - 1, 1);
192 zend_declare_typed_class_constant(class_entry, const_DISPLAY_SHORT_GENERIC_name, &const_DISPLAY_SHORT_GENERIC_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
193 zend_string_release(const_DISPLAY_SHORT_GENERIC_name);
194
195 zval const_DISPLAY_LONG_GENERIC_value;
196 ZVAL_LONG(&const_DISPLAY_LONG_GENERIC_value, TimeZone::LONG_GENERIC);
197 zend_string *const_DISPLAY_LONG_GENERIC_name = zend_string_init_interned("DISPLAY_LONG_GENERIC", sizeof("DISPLAY_LONG_GENERIC") - 1, 1);
198 zend_declare_typed_class_constant(class_entry, const_DISPLAY_LONG_GENERIC_name, &const_DISPLAY_LONG_GENERIC_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
199 zend_string_release(const_DISPLAY_LONG_GENERIC_name);
200
201 zval const_DISPLAY_SHORT_GMT_value;
202 ZVAL_LONG(&const_DISPLAY_SHORT_GMT_value, TimeZone::SHORT_GMT);
203 zend_string *const_DISPLAY_SHORT_GMT_name = zend_string_init_interned("DISPLAY_SHORT_GMT", sizeof("DISPLAY_SHORT_GMT") - 1, 1);
204 zend_declare_typed_class_constant(class_entry, const_DISPLAY_SHORT_GMT_name, &const_DISPLAY_SHORT_GMT_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
205 zend_string_release(const_DISPLAY_SHORT_GMT_name);
206
207 zval const_DISPLAY_LONG_GMT_value;
208 ZVAL_LONG(&const_DISPLAY_LONG_GMT_value, TimeZone::LONG_GMT);
209 zend_string *const_DISPLAY_LONG_GMT_name = zend_string_init_interned("DISPLAY_LONG_GMT", sizeof("DISPLAY_LONG_GMT") - 1, 1);
210 zend_declare_typed_class_constant(class_entry, const_DISPLAY_LONG_GMT_name, &const_DISPLAY_LONG_GMT_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
211 zend_string_release(const_DISPLAY_LONG_GMT_name);
212
213 zval const_DISPLAY_SHORT_COMMONLY_USED_value;
214 ZVAL_LONG(&const_DISPLAY_SHORT_COMMONLY_USED_value, TimeZone::SHORT_COMMONLY_USED);
215 zend_string *const_DISPLAY_SHORT_COMMONLY_USED_name = zend_string_init_interned("DISPLAY_SHORT_COMMONLY_USED", sizeof("DISPLAY_SHORT_COMMONLY_USED") - 1, 1);
216 zend_declare_typed_class_constant(class_entry, const_DISPLAY_SHORT_COMMONLY_USED_name, &const_DISPLAY_SHORT_COMMONLY_USED_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
217 zend_string_release(const_DISPLAY_SHORT_COMMONLY_USED_name);
218
219 zval const_DISPLAY_GENERIC_LOCATION_value;
220 ZVAL_LONG(&const_DISPLAY_GENERIC_LOCATION_value, TimeZone::GENERIC_LOCATION);
221 zend_string *const_DISPLAY_GENERIC_LOCATION_name = zend_string_init_interned("DISPLAY_GENERIC_LOCATION", sizeof("DISPLAY_GENERIC_LOCATION") - 1, 1);
222 zend_declare_typed_class_constant(class_entry, const_DISPLAY_GENERIC_LOCATION_name, &const_DISPLAY_GENERIC_LOCATION_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
223 zend_string_release(const_DISPLAY_GENERIC_LOCATION_name);
224
225 zval const_TYPE_ANY_value;
226 ZVAL_LONG(&const_TYPE_ANY_value, UCAL_ZONE_TYPE_ANY);
227 zend_string *const_TYPE_ANY_name = zend_string_init_interned("TYPE_ANY", sizeof("TYPE_ANY") - 1, 1);
228 zend_declare_typed_class_constant(class_entry, const_TYPE_ANY_name, &const_TYPE_ANY_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
229 zend_string_release(const_TYPE_ANY_name);
230
231 zval const_TYPE_CANONICAL_value;
232 ZVAL_LONG(&const_TYPE_CANONICAL_value, UCAL_ZONE_TYPE_CANONICAL);
233 zend_string *const_TYPE_CANONICAL_name = zend_string_init_interned("TYPE_CANONICAL", sizeof("TYPE_CANONICAL") - 1, 1);
234 zend_declare_typed_class_constant(class_entry, const_TYPE_CANONICAL_name, &const_TYPE_CANONICAL_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
235 zend_string_release(const_TYPE_CANONICAL_name);
236
237 zval const_TYPE_CANONICAL_LOCATION_value;
238 ZVAL_LONG(&const_TYPE_CANONICAL_LOCATION_value, UCAL_ZONE_TYPE_CANONICAL_LOCATION);
239 zend_string *const_TYPE_CANONICAL_LOCATION_name = zend_string_init_interned("TYPE_CANONICAL_LOCATION", sizeof("TYPE_CANONICAL_LOCATION") - 1, 1);
240 zend_declare_typed_class_constant(class_entry, const_TYPE_CANONICAL_LOCATION_name, &const_TYPE_CANONICAL_LOCATION_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
241 zend_string_release(const_TYPE_CANONICAL_LOCATION_name);
242
243 return class_entry;
244 }
245