xref: /PHP-8.0/Zend/zend_exceptions_arginfo.h (revision 45fa7596)
1 /* This is a generated file, edit the .stub.php file instead.
2  * Stub hash: 2fa61163fb7db8d87b14f9cf9a42c3cd8093f2a6 */
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 #define arginfo_class_Exception___wakeup arginfo_class_Throwable_getCode
33 
34 #define arginfo_class_Exception_getMessage arginfo_class_Throwable_getMessage
35 
36 #define arginfo_class_Exception_getCode arginfo_class_Throwable_getCode
37 
38 #define arginfo_class_Exception_getFile arginfo_class_Throwable_getMessage
39 
40 #define arginfo_class_Exception_getLine arginfo_class_Throwable_getLine
41 
42 #define arginfo_class_Exception_getTrace arginfo_class_Throwable_getTrace
43 
44 #define arginfo_class_Exception_getPrevious arginfo_class_Throwable_getPrevious
45 
46 #define arginfo_class_Exception_getTraceAsString arginfo_class_Throwable_getMessage
47 
48 #define arginfo_class_Exception___toString arginfo_class_Throwable_getMessage
49 
50 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ErrorException___construct, 0, 0, 0)
51 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, message, IS_STRING, 0, "\"\"")
52 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, code, IS_LONG, 0, "0")
53 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, severity, IS_LONG, 0, "E_ERROR")
54 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, filename, IS_STRING, 1, "null")
55 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, line, IS_LONG, 1, "null")
56 	ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, previous, Throwable, 1, "null")
57 ZEND_END_ARG_INFO()
58 
59 #define arginfo_class_ErrorException_getSeverity arginfo_class_Throwable_getLine
60 
61 #define arginfo_class_Error___clone arginfo_class_Exception___clone
62 
63 #define arginfo_class_Error___construct arginfo_class_Exception___construct
64 
65 #define arginfo_class_Error___wakeup arginfo_class_Throwable_getCode
66 
67 #define arginfo_class_Error_getMessage arginfo_class_Throwable_getMessage
68 
69 #define arginfo_class_Error_getCode arginfo_class_Throwable_getCode
70 
71 #define arginfo_class_Error_getFile arginfo_class_Throwable_getMessage
72 
73 #define arginfo_class_Error_getLine arginfo_class_Throwable_getLine
74 
75 #define arginfo_class_Error_getTrace arginfo_class_Throwable_getTrace
76 
77 #define arginfo_class_Error_getPrevious arginfo_class_Throwable_getPrevious
78 
79 #define arginfo_class_Error_getTraceAsString arginfo_class_Throwable_getMessage
80 
81 #define arginfo_class_Error___toString arginfo_class_Throwable_getMessage
82 
83 
84 ZEND_METHOD(Exception, __clone);
85 ZEND_METHOD(Exception, __construct);
86 ZEND_METHOD(Exception, __wakeup);
87 ZEND_METHOD(Exception, getMessage);
88 ZEND_METHOD(Exception, getCode);
89 ZEND_METHOD(Exception, getFile);
90 ZEND_METHOD(Exception, getLine);
91 ZEND_METHOD(Exception, getTrace);
92 ZEND_METHOD(Exception, getPrevious);
93 ZEND_METHOD(Exception, getTraceAsString);
94 ZEND_METHOD(Exception, __toString);
95 ZEND_METHOD(ErrorException, __construct);
96 ZEND_METHOD(ErrorException, getSeverity);
97 
98 
99 static const zend_function_entry class_Throwable_methods[] = {
100 	ZEND_ABSTRACT_ME_WITH_FLAGS(Throwable, getMessage, arginfo_class_Throwable_getMessage, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
101 	ZEND_ABSTRACT_ME_WITH_FLAGS(Throwable, getCode, arginfo_class_Throwable_getCode, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
102 	ZEND_ABSTRACT_ME_WITH_FLAGS(Throwable, getFile, arginfo_class_Throwable_getFile, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
103 	ZEND_ABSTRACT_ME_WITH_FLAGS(Throwable, getLine, arginfo_class_Throwable_getLine, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
104 	ZEND_ABSTRACT_ME_WITH_FLAGS(Throwable, getTrace, arginfo_class_Throwable_getTrace, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
105 	ZEND_ABSTRACT_ME_WITH_FLAGS(Throwable, getPrevious, arginfo_class_Throwable_getPrevious, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
106 	ZEND_ABSTRACT_ME_WITH_FLAGS(Throwable, getTraceAsString, arginfo_class_Throwable_getTraceAsString, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT)
107 	ZEND_FE_END
108 };
109 
110 
111 static const zend_function_entry class_Exception_methods[] = {
112 	ZEND_ME(Exception, __clone, arginfo_class_Exception___clone, ZEND_ACC_PRIVATE|ZEND_ACC_FINAL)
113 	ZEND_ME(Exception, __construct, arginfo_class_Exception___construct, ZEND_ACC_PUBLIC)
114 	ZEND_ME(Exception, __wakeup, arginfo_class_Exception___wakeup, ZEND_ACC_PUBLIC)
115 	ZEND_ME(Exception, getMessage, arginfo_class_Exception_getMessage, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL)
116 	ZEND_ME(Exception, getCode, arginfo_class_Exception_getCode, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL)
117 	ZEND_ME(Exception, getFile, arginfo_class_Exception_getFile, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL)
118 	ZEND_ME(Exception, getLine, arginfo_class_Exception_getLine, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL)
119 	ZEND_ME(Exception, getTrace, arginfo_class_Exception_getTrace, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL)
120 	ZEND_ME(Exception, getPrevious, arginfo_class_Exception_getPrevious, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL)
121 	ZEND_ME(Exception, getTraceAsString, arginfo_class_Exception_getTraceAsString, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL)
122 	ZEND_ME(Exception, __toString, arginfo_class_Exception___toString, ZEND_ACC_PUBLIC)
123 	ZEND_FE_END
124 };
125 
126 
127 static const zend_function_entry class_ErrorException_methods[] = {
128 	ZEND_ME(ErrorException, __construct, arginfo_class_ErrorException___construct, ZEND_ACC_PUBLIC)
129 	ZEND_ME(ErrorException, getSeverity, arginfo_class_ErrorException_getSeverity, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL)
130 	ZEND_FE_END
131 };
132 
133 
134 static const zend_function_entry class_Error_methods[] = {
135 	ZEND_MALIAS(Exception, __clone, __clone, arginfo_class_Error___clone, ZEND_ACC_PRIVATE|ZEND_ACC_FINAL)
136 	ZEND_MALIAS(Exception, __construct, __construct, arginfo_class_Error___construct, ZEND_ACC_PUBLIC)
137 	ZEND_MALIAS(Exception, __wakeup, __wakeup, arginfo_class_Error___wakeup, ZEND_ACC_PUBLIC)
138 	ZEND_MALIAS(Exception, getMessage, getMessage, arginfo_class_Error_getMessage, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL)
139 	ZEND_MALIAS(Exception, getCode, getCode, arginfo_class_Error_getCode, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL)
140 	ZEND_MALIAS(Exception, getFile, getFile, arginfo_class_Error_getFile, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL)
141 	ZEND_MALIAS(Exception, getLine, getLine, arginfo_class_Error_getLine, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL)
142 	ZEND_MALIAS(Exception, getTrace, getTrace, arginfo_class_Error_getTrace, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL)
143 	ZEND_MALIAS(Exception, getPrevious, getPrevious, arginfo_class_Error_getPrevious, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL)
144 	ZEND_MALIAS(Exception, getTraceAsString, getTraceAsString, arginfo_class_Error_getTraceAsString, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL)
145 	ZEND_MALIAS(Exception, __toString, __toString, arginfo_class_Error___toString, ZEND_ACC_PUBLIC)
146 	ZEND_FE_END
147 };
148 
149 
150 static const zend_function_entry class_CompileError_methods[] = {
151 	ZEND_FE_END
152 };
153 
154 
155 static const zend_function_entry class_ParseError_methods[] = {
156 	ZEND_FE_END
157 };
158 
159 
160 static const zend_function_entry class_TypeError_methods[] = {
161 	ZEND_FE_END
162 };
163 
164 
165 static const zend_function_entry class_ArgumentCountError_methods[] = {
166 	ZEND_FE_END
167 };
168 
169 
170 static const zend_function_entry class_ValueError_methods[] = {
171 	ZEND_FE_END
172 };
173 
174 
175 static const zend_function_entry class_ArithmeticError_methods[] = {
176 	ZEND_FE_END
177 };
178 
179 
180 static const zend_function_entry class_DivisionByZeroError_methods[] = {
181 	ZEND_FE_END
182 };
183 
184 
185 static const zend_function_entry class_UnhandledMatchError_methods[] = {
186 	ZEND_FE_END
187 };
188