1 /* This is a generated file, edit the .stub.php file instead.
2 * Stub hash: 4cf2c620393f468968a219b5bd12a2b5f6b03ecc */
3
4 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Throwable_getMessage, 0, 0, IS_STRING, 0)
5 ZEND_END_ARG_INFO()
6
7 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Throwable_getCode, 0, 0, 0)
8 ZEND_END_ARG_INFO()
9
10 #define arginfo_class_Throwable_getFile arginfo_class_Throwable_getMessage
11
12 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Throwable_getLine, 0, 0, IS_LONG, 0)
13 ZEND_END_ARG_INFO()
14
15 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Throwable_getTrace, 0, 0, IS_ARRAY, 0)
16 ZEND_END_ARG_INFO()
17
18 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Throwable_getPrevious, 0, 0, Throwable, 1)
19 ZEND_END_ARG_INFO()
20
21 #define arginfo_class_Throwable_getTraceAsString arginfo_class_Throwable_getMessage
22
23 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Exception___clone, 0, 0, IS_VOID, 0)
24 ZEND_END_ARG_INFO()
25
26 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Exception___construct, 0, 0, 0)
27 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, message, IS_STRING, 0, "\"\"")
28 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, code, IS_LONG, 0, "0")
29 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, previous, Throwable, 1, "null")
30 ZEND_END_ARG_INFO()
31
32 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_Exception___wakeup, 0, 0, IS_VOID, 0)
33 ZEND_END_ARG_INFO()
34
35 #define arginfo_class_Exception_getMessage arginfo_class_Throwable_getMessage
36
37 #define arginfo_class_Exception_getCode arginfo_class_Throwable_getCode
38
39 #define arginfo_class_Exception_getFile arginfo_class_Throwable_getMessage
40
41 #define arginfo_class_Exception_getLine arginfo_class_Throwable_getLine
42
43 #define arginfo_class_Exception_getTrace arginfo_class_Throwable_getTrace
44
45 #define arginfo_class_Exception_getPrevious arginfo_class_Throwable_getPrevious
46
47 #define arginfo_class_Exception_getTraceAsString arginfo_class_Throwable_getMessage
48
49 #define arginfo_class_Exception___toString arginfo_class_Throwable_getMessage
50
51 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ErrorException___construct, 0, 0, 0)
52 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, message, IS_STRING, 0, "\"\"")
53 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, code, IS_LONG, 0, "0")
54 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, severity, IS_LONG, 0, "E_ERROR")
55 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, filename, IS_STRING, 1, "null")
56 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, line, IS_LONG, 1, "null")
57 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, previous, Throwable, 1, "null")
58 ZEND_END_ARG_INFO()
59
60 #define arginfo_class_ErrorException_getSeverity arginfo_class_Throwable_getLine
61
62 #define arginfo_class_Error___clone arginfo_class_Exception___clone
63
64 #define arginfo_class_Error___construct arginfo_class_Exception___construct
65
66 #define arginfo_class_Error___wakeup arginfo_class_Exception___wakeup
67
68 #define arginfo_class_Error_getMessage arginfo_class_Throwable_getMessage
69
70 #define arginfo_class_Error_getCode arginfo_class_Throwable_getCode
71
72 #define arginfo_class_Error_getFile arginfo_class_Throwable_getMessage
73
74 #define arginfo_class_Error_getLine arginfo_class_Throwable_getLine
75
76 #define arginfo_class_Error_getTrace arginfo_class_Throwable_getTrace
77
78 #define arginfo_class_Error_getPrevious arginfo_class_Throwable_getPrevious
79
80 #define arginfo_class_Error_getTraceAsString arginfo_class_Throwable_getMessage
81
82 #define arginfo_class_Error___toString arginfo_class_Throwable_getMessage
83
84
85 ZEND_METHOD(Exception, __clone);
86 ZEND_METHOD(Exception, __construct);
87 ZEND_METHOD(Exception, __wakeup);
88 ZEND_METHOD(Exception, getMessage);
89 ZEND_METHOD(Exception, getCode);
90 ZEND_METHOD(Exception, getFile);
91 ZEND_METHOD(Exception, getLine);
92 ZEND_METHOD(Exception, getTrace);
93 ZEND_METHOD(Exception, getPrevious);
94 ZEND_METHOD(Exception, getTraceAsString);
95 ZEND_METHOD(Exception, __toString);
96 ZEND_METHOD(ErrorException, __construct);
97 ZEND_METHOD(ErrorException, getSeverity);
98
99
100 static const zend_function_entry class_Throwable_methods[] = {
101 ZEND_ABSTRACT_ME_WITH_FLAGS(Throwable, getMessage, arginfo_class_Throwable_getMessage, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
102 ZEND_ABSTRACT_ME_WITH_FLAGS(Throwable, getCode, arginfo_class_Throwable_getCode, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
103 ZEND_ABSTRACT_ME_WITH_FLAGS(Throwable, getFile, arginfo_class_Throwable_getFile, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
104 ZEND_ABSTRACT_ME_WITH_FLAGS(Throwable, getLine, arginfo_class_Throwable_getLine, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
105 ZEND_ABSTRACT_ME_WITH_FLAGS(Throwable, getTrace, arginfo_class_Throwable_getTrace, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
106 ZEND_ABSTRACT_ME_WITH_FLAGS(Throwable, getPrevious, arginfo_class_Throwable_getPrevious, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
107 ZEND_ABSTRACT_ME_WITH_FLAGS(Throwable, getTraceAsString, arginfo_class_Throwable_getTraceAsString, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
108 ZEND_FE_END
109 };
110
111
112 static const zend_function_entry class_Exception_methods[] = {
113 ZEND_ME(Exception, __clone, arginfo_class_Exception___clone, ZEND_ACC_PRIVATE)
114 ZEND_ME(Exception, __construct, arginfo_class_Exception___construct, ZEND_ACC_PUBLIC)
115 ZEND_ME(Exception, __wakeup, arginfo_class_Exception___wakeup, ZEND_ACC_PUBLIC)
116 ZEND_ME(Exception, getMessage, arginfo_class_Exception_getMessage, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL)
117 ZEND_ME(Exception, getCode, arginfo_class_Exception_getCode, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL)
118 ZEND_ME(Exception, getFile, arginfo_class_Exception_getFile, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL)
119 ZEND_ME(Exception, getLine, arginfo_class_Exception_getLine, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL)
120 ZEND_ME(Exception, getTrace, arginfo_class_Exception_getTrace, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL)
121 ZEND_ME(Exception, getPrevious, arginfo_class_Exception_getPrevious, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL)
122 ZEND_ME(Exception, getTraceAsString, arginfo_class_Exception_getTraceAsString, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL)
123 ZEND_ME(Exception, __toString, arginfo_class_Exception___toString, ZEND_ACC_PUBLIC)
124 ZEND_FE_END
125 };
126
127
128 static const zend_function_entry class_ErrorException_methods[] = {
129 ZEND_ME(ErrorException, __construct, arginfo_class_ErrorException___construct, ZEND_ACC_PUBLIC)
130 ZEND_ME(ErrorException, getSeverity, arginfo_class_ErrorException_getSeverity, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL)
131 ZEND_FE_END
132 };
133
134
135 static const zend_function_entry class_Error_methods[] = {
136 ZEND_MALIAS(Exception, __clone, __clone, arginfo_class_Error___clone, ZEND_ACC_PRIVATE)
137 ZEND_MALIAS(Exception, __construct, __construct, arginfo_class_Error___construct, ZEND_ACC_PUBLIC)
138 ZEND_MALIAS(Exception, __wakeup, __wakeup, arginfo_class_Error___wakeup, ZEND_ACC_PUBLIC)
139 ZEND_MALIAS(Exception, getMessage, getMessage, arginfo_class_Error_getMessage, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL)
140 ZEND_MALIAS(Exception, getCode, getCode, arginfo_class_Error_getCode, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL)
141 ZEND_MALIAS(Exception, getFile, getFile, arginfo_class_Error_getFile, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL)
142 ZEND_MALIAS(Exception, getLine, getLine, arginfo_class_Error_getLine, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL)
143 ZEND_MALIAS(Exception, getTrace, getTrace, arginfo_class_Error_getTrace, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL)
144 ZEND_MALIAS(Exception, getPrevious, getPrevious, arginfo_class_Error_getPrevious, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL)
145 ZEND_MALIAS(Exception, getTraceAsString, getTraceAsString, arginfo_class_Error_getTraceAsString, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL)
146 ZEND_MALIAS(Exception, __toString, __toString, arginfo_class_Error___toString, ZEND_ACC_PUBLIC)
147 ZEND_FE_END
148 };
149
150
151 static const zend_function_entry class_CompileError_methods[] = {
152 ZEND_FE_END
153 };
154
155
156 static const zend_function_entry class_ParseError_methods[] = {
157 ZEND_FE_END
158 };
159
160
161 static const zend_function_entry class_TypeError_methods[] = {
162 ZEND_FE_END
163 };
164
165
166 static const zend_function_entry class_ArgumentCountError_methods[] = {
167 ZEND_FE_END
168 };
169
170
171 static const zend_function_entry class_ValueError_methods[] = {
172 ZEND_FE_END
173 };
174
175
176 static const zend_function_entry class_ArithmeticError_methods[] = {
177 ZEND_FE_END
178 };
179
180
181 static const zend_function_entry class_DivisionByZeroError_methods[] = {
182 ZEND_FE_END
183 };
184
185
186 static const zend_function_entry class_UnhandledMatchError_methods[] = {
187 ZEND_FE_END
188 };
189
register_class_Throwable(zend_class_entry * class_entry_Stringable)190 static zend_class_entry *register_class_Throwable(zend_class_entry *class_entry_Stringable)
191 {
192 zend_class_entry ce, *class_entry;
193
194 INIT_CLASS_ENTRY(ce, "Throwable", class_Throwable_methods);
195 class_entry = zend_register_internal_interface(&ce);
196 zend_class_implements(class_entry, 1, class_entry_Stringable);
197
198 return class_entry;
199 }
200
register_class_Exception(zend_class_entry * class_entry_Throwable)201 static zend_class_entry *register_class_Exception(zend_class_entry *class_entry_Throwable)
202 {
203 zend_class_entry ce, *class_entry;
204
205 INIT_CLASS_ENTRY(ce, "Exception", class_Exception_methods);
206 class_entry = zend_register_internal_class_ex(&ce, NULL);
207 zend_class_implements(class_entry, 1, class_entry_Throwable);
208
209 zval property_message_default_value;
210 ZVAL_EMPTY_STRING(&property_message_default_value);
211 zend_string *property_message_name = zend_string_init("message", sizeof("message") - 1, 1);
212 zend_declare_typed_property(class_entry, property_message_name, &property_message_default_value, ZEND_ACC_PROTECTED, NULL, (zend_type) ZEND_TYPE_INIT_NONE(0));
213 zend_string_release(property_message_name);
214
215 zval property_string_default_value;
216 ZVAL_EMPTY_STRING(&property_string_default_value);
217 zend_string *property_string_name = zend_string_init("string", sizeof("string") - 1, 1);
218 zend_declare_typed_property(class_entry, property_string_name, &property_string_default_value, ZEND_ACC_PRIVATE, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
219 zend_string_release(property_string_name);
220
221 zval property_code_default_value;
222 ZVAL_LONG(&property_code_default_value, 0);
223 zend_string *property_code_name = zend_string_init("code", sizeof("code") - 1, 1);
224 zend_declare_typed_property(class_entry, property_code_name, &property_code_default_value, ZEND_ACC_PROTECTED, NULL, (zend_type) ZEND_TYPE_INIT_NONE(0));
225 zend_string_release(property_code_name);
226
227 zval property_file_default_value;
228 ZVAL_EMPTY_STRING(&property_file_default_value);
229 zend_string *property_file_name = zend_string_init("file", sizeof("file") - 1, 1);
230 zend_declare_typed_property(class_entry, property_file_name, &property_file_default_value, ZEND_ACC_PROTECTED, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
231 zend_string_release(property_file_name);
232
233 zval property_line_default_value;
234 ZVAL_LONG(&property_line_default_value, 0);
235 zend_string *property_line_name = zend_string_init("line", sizeof("line") - 1, 1);
236 zend_declare_typed_property(class_entry, property_line_name, &property_line_default_value, ZEND_ACC_PROTECTED, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
237 zend_string_release(property_line_name);
238
239 zval property_trace_default_value;
240 ZVAL_EMPTY_ARRAY(&property_trace_default_value);
241 zend_string *property_trace_name = zend_string_init("trace", sizeof("trace") - 1, 1);
242 zend_declare_typed_property(class_entry, property_trace_name, &property_trace_default_value, ZEND_ACC_PRIVATE, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_ARRAY));
243 zend_string_release(property_trace_name);
244
245 zval property_previous_default_value;
246 ZVAL_NULL(&property_previous_default_value);
247 zend_string *property_previous_name = zend_string_init("previous", sizeof("previous") - 1, 1);
248 zend_string *property_previous_class_Throwable = zend_string_init("Throwable", sizeof("Throwable")-1, 1);
249 zend_declare_typed_property(class_entry, property_previous_name, &property_previous_default_value, ZEND_ACC_PRIVATE, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_previous_class_Throwable, 0, MAY_BE_NULL));
250 zend_string_release(property_previous_name);
251
252 return class_entry;
253 }
254
register_class_ErrorException(zend_class_entry * class_entry_Exception)255 static zend_class_entry *register_class_ErrorException(zend_class_entry *class_entry_Exception)
256 {
257 zend_class_entry ce, *class_entry;
258
259 INIT_CLASS_ENTRY(ce, "ErrorException", class_ErrorException_methods);
260 class_entry = zend_register_internal_class_ex(&ce, class_entry_Exception);
261
262 zval property_severity_default_value;
263 ZVAL_LONG(&property_severity_default_value, E_ERROR);
264 zend_string *property_severity_name = zend_string_init("severity", sizeof("severity") - 1, 1);
265 zend_declare_typed_property(class_entry, property_severity_name, &property_severity_default_value, ZEND_ACC_PROTECTED, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
266 zend_string_release(property_severity_name);
267
268 return class_entry;
269 }
270
register_class_Error(zend_class_entry * class_entry_Throwable)271 static zend_class_entry *register_class_Error(zend_class_entry *class_entry_Throwable)
272 {
273 zend_class_entry ce, *class_entry;
274
275 INIT_CLASS_ENTRY(ce, "Error", class_Error_methods);
276 class_entry = zend_register_internal_class_ex(&ce, NULL);
277 zend_class_implements(class_entry, 1, class_entry_Throwable);
278
279 zval property_message_default_value;
280 ZVAL_EMPTY_STRING(&property_message_default_value);
281 zend_string *property_message_name = zend_string_init("message", sizeof("message") - 1, 1);
282 zend_declare_typed_property(class_entry, property_message_name, &property_message_default_value, ZEND_ACC_PROTECTED, NULL, (zend_type) ZEND_TYPE_INIT_NONE(0));
283 zend_string_release(property_message_name);
284
285 zval property_string_default_value;
286 ZVAL_EMPTY_STRING(&property_string_default_value);
287 zend_string *property_string_name = zend_string_init("string", sizeof("string") - 1, 1);
288 zend_declare_typed_property(class_entry, property_string_name, &property_string_default_value, ZEND_ACC_PRIVATE, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
289 zend_string_release(property_string_name);
290
291 zval property_code_default_value;
292 ZVAL_LONG(&property_code_default_value, 0);
293 zend_string *property_code_name = zend_string_init("code", sizeof("code") - 1, 1);
294 zend_declare_typed_property(class_entry, property_code_name, &property_code_default_value, ZEND_ACC_PROTECTED, NULL, (zend_type) ZEND_TYPE_INIT_NONE(0));
295 zend_string_release(property_code_name);
296
297 zval property_file_default_value;
298 ZVAL_EMPTY_STRING(&property_file_default_value);
299 zend_string *property_file_name = zend_string_init("file", sizeof("file") - 1, 1);
300 zend_declare_typed_property(class_entry, property_file_name, &property_file_default_value, ZEND_ACC_PROTECTED, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
301 zend_string_release(property_file_name);
302
303 zval property_line_default_value;
304 ZVAL_UNDEF(&property_line_default_value);
305 zend_string *property_line_name = zend_string_init("line", sizeof("line") - 1, 1);
306 zend_declare_typed_property(class_entry, property_line_name, &property_line_default_value, ZEND_ACC_PROTECTED, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
307 zend_string_release(property_line_name);
308
309 zval property_trace_default_value;
310 ZVAL_EMPTY_ARRAY(&property_trace_default_value);
311 zend_string *property_trace_name = zend_string_init("trace", sizeof("trace") - 1, 1);
312 zend_declare_typed_property(class_entry, property_trace_name, &property_trace_default_value, ZEND_ACC_PRIVATE, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_ARRAY));
313 zend_string_release(property_trace_name);
314
315 zval property_previous_default_value;
316 ZVAL_NULL(&property_previous_default_value);
317 zend_string *property_previous_name = zend_string_init("previous", sizeof("previous") - 1, 1);
318 zend_string *property_previous_class_Throwable = zend_string_init("Throwable", sizeof("Throwable")-1, 1);
319 zend_declare_typed_property(class_entry, property_previous_name, &property_previous_default_value, ZEND_ACC_PRIVATE, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property_previous_class_Throwable, 0, MAY_BE_NULL));
320 zend_string_release(property_previous_name);
321
322 return class_entry;
323 }
324
register_class_CompileError(zend_class_entry * class_entry_Error)325 static zend_class_entry *register_class_CompileError(zend_class_entry *class_entry_Error)
326 {
327 zend_class_entry ce, *class_entry;
328
329 INIT_CLASS_ENTRY(ce, "CompileError", class_CompileError_methods);
330 class_entry = zend_register_internal_class_ex(&ce, class_entry_Error);
331
332 return class_entry;
333 }
334
register_class_ParseError(zend_class_entry * class_entry_CompileError)335 static zend_class_entry *register_class_ParseError(zend_class_entry *class_entry_CompileError)
336 {
337 zend_class_entry ce, *class_entry;
338
339 INIT_CLASS_ENTRY(ce, "ParseError", class_ParseError_methods);
340 class_entry = zend_register_internal_class_ex(&ce, class_entry_CompileError);
341
342 return class_entry;
343 }
344
register_class_TypeError(zend_class_entry * class_entry_Error)345 static zend_class_entry *register_class_TypeError(zend_class_entry *class_entry_Error)
346 {
347 zend_class_entry ce, *class_entry;
348
349 INIT_CLASS_ENTRY(ce, "TypeError", class_TypeError_methods);
350 class_entry = zend_register_internal_class_ex(&ce, class_entry_Error);
351
352 return class_entry;
353 }
354
register_class_ArgumentCountError(zend_class_entry * class_entry_TypeError)355 static zend_class_entry *register_class_ArgumentCountError(zend_class_entry *class_entry_TypeError)
356 {
357 zend_class_entry ce, *class_entry;
358
359 INIT_CLASS_ENTRY(ce, "ArgumentCountError", class_ArgumentCountError_methods);
360 class_entry = zend_register_internal_class_ex(&ce, class_entry_TypeError);
361
362 return class_entry;
363 }
364
register_class_ValueError(zend_class_entry * class_entry_Error)365 static zend_class_entry *register_class_ValueError(zend_class_entry *class_entry_Error)
366 {
367 zend_class_entry ce, *class_entry;
368
369 INIT_CLASS_ENTRY(ce, "ValueError", class_ValueError_methods);
370 class_entry = zend_register_internal_class_ex(&ce, class_entry_Error);
371
372 return class_entry;
373 }
374
register_class_ArithmeticError(zend_class_entry * class_entry_Error)375 static zend_class_entry *register_class_ArithmeticError(zend_class_entry *class_entry_Error)
376 {
377 zend_class_entry ce, *class_entry;
378
379 INIT_CLASS_ENTRY(ce, "ArithmeticError", class_ArithmeticError_methods);
380 class_entry = zend_register_internal_class_ex(&ce, class_entry_Error);
381
382 return class_entry;
383 }
384
register_class_DivisionByZeroError(zend_class_entry * class_entry_ArithmeticError)385 static zend_class_entry *register_class_DivisionByZeroError(zend_class_entry *class_entry_ArithmeticError)
386 {
387 zend_class_entry ce, *class_entry;
388
389 INIT_CLASS_ENTRY(ce, "DivisionByZeroError", class_DivisionByZeroError_methods);
390 class_entry = zend_register_internal_class_ex(&ce, class_entry_ArithmeticError);
391
392 return class_entry;
393 }
394
register_class_UnhandledMatchError(zend_class_entry * class_entry_Error)395 static zend_class_entry *register_class_UnhandledMatchError(zend_class_entry *class_entry_Error)
396 {
397 zend_class_entry ce, *class_entry;
398
399 INIT_CLASS_ENTRY(ce, "UnhandledMatchError", class_UnhandledMatchError_methods);
400 class_entry = zend_register_internal_class_ex(&ce, class_entry_Error);
401
402 return class_entry;
403 }
404