1 /* This is a generated file, edit the .stub.php file instead.
2 * Stub hash: ab057422ee42f574e7d00462f3bf173caf14ecc1 */
3
4 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_use_soap_error_handler, 0, 0, _IS_BOOL, 0)
5 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, enable, _IS_BOOL, 0, "true")
6 ZEND_END_ARG_INFO()
7
8 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_is_soap_fault, 0, 1, _IS_BOOL, 0)
9 ZEND_ARG_TYPE_INFO(0, object, IS_MIXED, 0)
10 ZEND_END_ARG_INFO()
11
12 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_SoapParam___construct, 0, 0, 2)
13 ZEND_ARG_TYPE_INFO(0, data, IS_MIXED, 0)
14 ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
15 ZEND_END_ARG_INFO()
16
17 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_SoapHeader___construct, 0, 0, 2)
18 ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 0)
19 ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
20 ZEND_ARG_TYPE_INFO(0, data, IS_MIXED, 0)
21 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, mustUnderstand, _IS_BOOL, 0, "false")
22 ZEND_ARG_TYPE_MASK(0, actor, MAY_BE_STRING|MAY_BE_LONG|MAY_BE_NULL, "null")
23 ZEND_END_ARG_INFO()
24
25 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_SoapFault___construct, 0, 0, 2)
26 ZEND_ARG_TYPE_MASK(0, code, MAY_BE_ARRAY|MAY_BE_STRING|MAY_BE_NULL, NULL)
27 ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
28 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, actor, IS_STRING, 1, "null")
29 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, details, IS_MIXED, 0, "null")
30 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, name, IS_STRING, 1, "null")
31 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, headerFault, IS_MIXED, 0, "null")
32 ZEND_END_ARG_INFO()
33
34 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_SoapFault___toString, 0, 0, IS_STRING, 0)
35 ZEND_END_ARG_INFO()
36
37 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_SoapVar___construct, 0, 0, 2)
38 ZEND_ARG_TYPE_INFO(0, data, IS_MIXED, 0)
39 ZEND_ARG_TYPE_INFO(0, encoding, IS_LONG, 1)
40 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, typeName, IS_STRING, 1, "null")
41 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, typeNamespace, IS_STRING, 1, "null")
42 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, nodeName, IS_STRING, 1, "null")
43 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, nodeNamespace, IS_STRING, 1, "null")
44 ZEND_END_ARG_INFO()
45
46 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_SoapServer___construct, 0, 0, 1)
47 ZEND_ARG_TYPE_INFO(0, wsdl, IS_STRING, 1)
48 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_ARRAY, 0, "[]")
49 ZEND_END_ARG_INFO()
50
51 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_SoapServer_fault, 0, 2, IS_VOID, 0)
52 ZEND_ARG_TYPE_INFO(0, code, IS_STRING, 0)
53 ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
54 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, actor, IS_STRING, 0, "\"\"")
55 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, details, IS_MIXED, 0, "null")
56 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, name, IS_STRING, 0, "\"\"")
57 ZEND_END_ARG_INFO()
58
59 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_SoapServer_addSoapHeader, 0, 1, IS_VOID, 0)
60 ZEND_ARG_OBJ_INFO(0, header, SoapHeader, 0)
61 ZEND_END_ARG_INFO()
62
63 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_SoapServer_setPersistence, 0, 1, IS_VOID, 0)
64 ZEND_ARG_TYPE_INFO(0, mode, IS_LONG, 0)
65 ZEND_END_ARG_INFO()
66
67 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_SoapServer_setClass, 0, 1, IS_VOID, 0)
68 ZEND_ARG_TYPE_INFO(0, class, IS_STRING, 0)
69 ZEND_ARG_VARIADIC_TYPE_INFO(0, args, IS_MIXED, 0)
70 ZEND_END_ARG_INFO()
71
72 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_SoapServer_setObject, 0, 1, IS_VOID, 0)
73 ZEND_ARG_TYPE_INFO(0, object, IS_OBJECT, 0)
74 ZEND_END_ARG_INFO()
75
76 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_SoapServer_getFunctions, 0, 0, IS_ARRAY, 0)
77 ZEND_END_ARG_INFO()
78
79 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_SoapServer_addFunction, 0, 1, IS_VOID, 0)
80 ZEND_ARG_INFO(0, functions)
81 ZEND_END_ARG_INFO()
82
83 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_SoapServer_handle, 0, 0, IS_VOID, 0)
84 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, request, IS_STRING, 1, "null")
85 ZEND_END_ARG_INFO()
86
87 #define arginfo_class_SoapClient___construct arginfo_class_SoapServer___construct
88
89 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_SoapClient___call, 0, 2, IS_MIXED, 0)
90 ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
91 ZEND_ARG_TYPE_INFO(0, args, IS_ARRAY, 0)
92 ZEND_END_ARG_INFO()
93
94 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_SoapClient___soapCall, 0, 2, IS_MIXED, 0)
95 ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
96 ZEND_ARG_TYPE_INFO(0, args, IS_ARRAY, 0)
97 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_ARRAY, 1, "null")
98 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, inputHeaders, "null")
99 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, outputHeaders, "null")
100 ZEND_END_ARG_INFO()
101
102 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_SoapClient___getFunctions, 0, 0, IS_ARRAY, 1)
103 ZEND_END_ARG_INFO()
104
105 #define arginfo_class_SoapClient___getTypes arginfo_class_SoapClient___getFunctions
106
107 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_SoapClient___getLastRequest, 0, 0, IS_STRING, 1)
108 ZEND_END_ARG_INFO()
109
110 #define arginfo_class_SoapClient___getLastResponse arginfo_class_SoapClient___getLastRequest
111
112 #define arginfo_class_SoapClient___getLastRequestHeaders arginfo_class_SoapClient___getLastRequest
113
114 #define arginfo_class_SoapClient___getLastResponseHeaders arginfo_class_SoapClient___getLastRequest
115
116 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_SoapClient___doRequest, 0, 4, IS_STRING, 1)
117 ZEND_ARG_TYPE_INFO(0, request, IS_STRING, 0)
118 ZEND_ARG_TYPE_INFO(0, location, IS_STRING, 0)
119 ZEND_ARG_TYPE_INFO(0, action, IS_STRING, 0)
120 ZEND_ARG_TYPE_INFO(0, version, IS_LONG, 0)
121 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, oneWay, _IS_BOOL, 0, "false")
122 ZEND_END_ARG_INFO()
123
124 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_SoapClient___setCookie, 0, 1, IS_VOID, 0)
125 ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
126 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, value, IS_STRING, 1, "null")
127 ZEND_END_ARG_INFO()
128
129 #define arginfo_class_SoapClient___getCookies arginfo_class_SoapServer_getFunctions
130
131 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_SoapClient___setSoapHeaders, 0, 0, _IS_BOOL, 0)
132 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, headers, "null")
133 ZEND_END_ARG_INFO()
134
135 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_SoapClient___setLocation, 0, 0, IS_STRING, 1)
136 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, location, IS_STRING, 1, "null")
137 ZEND_END_ARG_INFO()
138
139
140 ZEND_FUNCTION(use_soap_error_handler);
141 ZEND_FUNCTION(is_soap_fault);
142 ZEND_METHOD(SoapParam, __construct);
143 ZEND_METHOD(SoapHeader, __construct);
144 ZEND_METHOD(SoapFault, __construct);
145 ZEND_METHOD(SoapFault, __toString);
146 ZEND_METHOD(SoapVar, __construct);
147 ZEND_METHOD(SoapServer, __construct);
148 ZEND_METHOD(SoapServer, fault);
149 ZEND_METHOD(SoapServer, addSoapHeader);
150 ZEND_METHOD(SoapServer, setPersistence);
151 ZEND_METHOD(SoapServer, setClass);
152 ZEND_METHOD(SoapServer, setObject);
153 ZEND_METHOD(SoapServer, getFunctions);
154 ZEND_METHOD(SoapServer, addFunction);
155 ZEND_METHOD(SoapServer, handle);
156 ZEND_METHOD(SoapClient, __construct);
157 ZEND_METHOD(SoapClient, __call);
158 ZEND_METHOD(SoapClient, __soapCall);
159 ZEND_METHOD(SoapClient, __getFunctions);
160 ZEND_METHOD(SoapClient, __getTypes);
161 ZEND_METHOD(SoapClient, __getLastRequest);
162 ZEND_METHOD(SoapClient, __getLastResponse);
163 ZEND_METHOD(SoapClient, __getLastRequestHeaders);
164 ZEND_METHOD(SoapClient, __getLastResponseHeaders);
165 ZEND_METHOD(SoapClient, __doRequest);
166 ZEND_METHOD(SoapClient, __setCookie);
167 ZEND_METHOD(SoapClient, __getCookies);
168 ZEND_METHOD(SoapClient, __setSoapHeaders);
169 ZEND_METHOD(SoapClient, __setLocation);
170
171
172 static const zend_function_entry ext_functions[] = {
173 ZEND_FE(use_soap_error_handler, arginfo_use_soap_error_handler)
174 ZEND_FE(is_soap_fault, arginfo_is_soap_fault)
175 ZEND_FE_END
176 };
177
178
179 static const zend_function_entry class_SoapParam_methods[] = {
180 ZEND_ME(SoapParam, __construct, arginfo_class_SoapParam___construct, ZEND_ACC_PUBLIC)
181 ZEND_FE_END
182 };
183
184
185 static const zend_function_entry class_SoapHeader_methods[] = {
186 ZEND_ME(SoapHeader, __construct, arginfo_class_SoapHeader___construct, ZEND_ACC_PUBLIC)
187 ZEND_FE_END
188 };
189
190
191 static const zend_function_entry class_SoapFault_methods[] = {
192 ZEND_ME(SoapFault, __construct, arginfo_class_SoapFault___construct, ZEND_ACC_PUBLIC)
193 ZEND_ME(SoapFault, __toString, arginfo_class_SoapFault___toString, ZEND_ACC_PUBLIC)
194 ZEND_FE_END
195 };
196
197
198 static const zend_function_entry class_SoapVar_methods[] = {
199 ZEND_ME(SoapVar, __construct, arginfo_class_SoapVar___construct, ZEND_ACC_PUBLIC)
200 ZEND_FE_END
201 };
202
203
204 static const zend_function_entry class_SoapServer_methods[] = {
205 ZEND_ME(SoapServer, __construct, arginfo_class_SoapServer___construct, ZEND_ACC_PUBLIC)
206 ZEND_ME(SoapServer, fault, arginfo_class_SoapServer_fault, ZEND_ACC_PUBLIC)
207 ZEND_ME(SoapServer, addSoapHeader, arginfo_class_SoapServer_addSoapHeader, ZEND_ACC_PUBLIC)
208 ZEND_ME(SoapServer, setPersistence, arginfo_class_SoapServer_setPersistence, ZEND_ACC_PUBLIC)
209 ZEND_ME(SoapServer, setClass, arginfo_class_SoapServer_setClass, ZEND_ACC_PUBLIC)
210 ZEND_ME(SoapServer, setObject, arginfo_class_SoapServer_setObject, ZEND_ACC_PUBLIC)
211 ZEND_ME(SoapServer, getFunctions, arginfo_class_SoapServer_getFunctions, ZEND_ACC_PUBLIC)
212 ZEND_ME(SoapServer, addFunction, arginfo_class_SoapServer_addFunction, ZEND_ACC_PUBLIC)
213 ZEND_ME(SoapServer, handle, arginfo_class_SoapServer_handle, ZEND_ACC_PUBLIC)
214 ZEND_FE_END
215 };
216
217
218 static const zend_function_entry class_SoapClient_methods[] = {
219 ZEND_ME(SoapClient, __construct, arginfo_class_SoapClient___construct, ZEND_ACC_PUBLIC)
220 ZEND_ME(SoapClient, __call, arginfo_class_SoapClient___call, ZEND_ACC_PUBLIC)
221 ZEND_ME(SoapClient, __soapCall, arginfo_class_SoapClient___soapCall, ZEND_ACC_PUBLIC)
222 ZEND_ME(SoapClient, __getFunctions, arginfo_class_SoapClient___getFunctions, ZEND_ACC_PUBLIC)
223 ZEND_ME(SoapClient, __getTypes, arginfo_class_SoapClient___getTypes, ZEND_ACC_PUBLIC)
224 ZEND_ME(SoapClient, __getLastRequest, arginfo_class_SoapClient___getLastRequest, ZEND_ACC_PUBLIC)
225 ZEND_ME(SoapClient, __getLastResponse, arginfo_class_SoapClient___getLastResponse, ZEND_ACC_PUBLIC)
226 ZEND_ME(SoapClient, __getLastRequestHeaders, arginfo_class_SoapClient___getLastRequestHeaders, ZEND_ACC_PUBLIC)
227 ZEND_ME(SoapClient, __getLastResponseHeaders, arginfo_class_SoapClient___getLastResponseHeaders, ZEND_ACC_PUBLIC)
228 ZEND_ME(SoapClient, __doRequest, arginfo_class_SoapClient___doRequest, ZEND_ACC_PUBLIC)
229 ZEND_ME(SoapClient, __setCookie, arginfo_class_SoapClient___setCookie, ZEND_ACC_PUBLIC)
230 ZEND_ME(SoapClient, __getCookies, arginfo_class_SoapClient___getCookies, ZEND_ACC_PUBLIC)
231 ZEND_ME(SoapClient, __setSoapHeaders, arginfo_class_SoapClient___setSoapHeaders, ZEND_ACC_PUBLIC)
232 ZEND_ME(SoapClient, __setLocation, arginfo_class_SoapClient___setLocation, ZEND_ACC_PUBLIC)
233 ZEND_FE_END
234 };
235
register_class_SoapParam(void)236 static zend_class_entry *register_class_SoapParam(void)
237 {
238 zend_class_entry ce, *class_entry;
239
240 INIT_CLASS_ENTRY(ce, "SoapParam", class_SoapParam_methods);
241 class_entry = zend_register_internal_class_ex(&ce, NULL);
242
243 zval property_param_name_default_value;
244 ZVAL_UNDEF(&property_param_name_default_value);
245 zend_string *property_param_name_name = zend_string_init("param_name", sizeof("param_name") - 1, 1);
246 zend_declare_typed_property(class_entry, property_param_name_name, &property_param_name_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
247 zend_string_release(property_param_name_name);
248
249 zval property_param_data_default_value;
250 ZVAL_UNDEF(&property_param_data_default_value);
251 zend_string *property_param_data_name = zend_string_init("param_data", sizeof("param_data") - 1, 1);
252 zend_declare_typed_property(class_entry, property_param_data_name, &property_param_data_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_ANY));
253 zend_string_release(property_param_data_name);
254
255 return class_entry;
256 }
257
register_class_SoapHeader(void)258 static zend_class_entry *register_class_SoapHeader(void)
259 {
260 zend_class_entry ce, *class_entry;
261
262 INIT_CLASS_ENTRY(ce, "SoapHeader", class_SoapHeader_methods);
263 class_entry = zend_register_internal_class_ex(&ce, NULL);
264
265 zval property_namespace_default_value;
266 ZVAL_UNDEF(&property_namespace_default_value);
267 zend_string *property_namespace_name = zend_string_init("namespace", sizeof("namespace") - 1, 1);
268 zend_declare_typed_property(class_entry, property_namespace_name, &property_namespace_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
269 zend_string_release(property_namespace_name);
270
271 zval property_name_default_value;
272 ZVAL_UNDEF(&property_name_default_value);
273 zend_string *property_name_name = zend_string_init("name", sizeof("name") - 1, 1);
274 zend_declare_typed_property(class_entry, property_name_name, &property_name_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
275 zend_string_release(property_name_name);
276
277 zval property_data_default_value;
278 ZVAL_NULL(&property_data_default_value);
279 zend_string *property_data_name = zend_string_init("data", sizeof("data") - 1, 1);
280 zend_declare_typed_property(class_entry, property_data_name, &property_data_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_ANY));
281 zend_string_release(property_data_name);
282
283 zval property_mustUnderstand_default_value;
284 ZVAL_UNDEF(&property_mustUnderstand_default_value);
285 zend_string *property_mustUnderstand_name = zend_string_init("mustUnderstand", sizeof("mustUnderstand") - 1, 1);
286 zend_declare_typed_property(class_entry, property_mustUnderstand_name, &property_mustUnderstand_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
287 zend_string_release(property_mustUnderstand_name);
288
289 zval property_actor_default_value;
290 ZVAL_UNDEF(&property_actor_default_value);
291 zend_string *property_actor_name = zend_string_init("actor", sizeof("actor") - 1, 1);
292 zend_declare_typed_property(class_entry, property_actor_name, &property_actor_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_LONG|MAY_BE_NULL));
293 zend_string_release(property_actor_name);
294
295 return class_entry;
296 }
297
register_class_SoapFault(zend_class_entry * class_entry_Exception)298 static zend_class_entry *register_class_SoapFault(zend_class_entry *class_entry_Exception)
299 {
300 zend_class_entry ce, *class_entry;
301
302 INIT_CLASS_ENTRY(ce, "SoapFault", class_SoapFault_methods);
303 class_entry = zend_register_internal_class_ex(&ce, class_entry_Exception);
304
305 zval property_faultstring_default_value;
306 ZVAL_UNDEF(&property_faultstring_default_value);
307 zend_string *property_faultstring_name = zend_string_init("faultstring", sizeof("faultstring") - 1, 1);
308 zend_declare_typed_property(class_entry, property_faultstring_name, &property_faultstring_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
309 zend_string_release(property_faultstring_name);
310
311 zval property_faultcode_default_value;
312 ZVAL_NULL(&property_faultcode_default_value);
313 zend_string *property_faultcode_name = zend_string_init("faultcode", sizeof("faultcode") - 1, 1);
314 zend_declare_typed_property(class_entry, property_faultcode_name, &property_faultcode_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
315 zend_string_release(property_faultcode_name);
316
317 zval property_faultcodens_default_value;
318 ZVAL_NULL(&property_faultcodens_default_value);
319 zend_string *property_faultcodens_name = zend_string_init("faultcodens", sizeof("faultcodens") - 1, 1);
320 zend_declare_typed_property(class_entry, property_faultcodens_name, &property_faultcodens_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
321 zend_string_release(property_faultcodens_name);
322
323 zval property_faultactor_default_value;
324 ZVAL_NULL(&property_faultactor_default_value);
325 zend_string *property_faultactor_name = zend_string_init("faultactor", sizeof("faultactor") - 1, 1);
326 zend_declare_typed_property(class_entry, property_faultactor_name, &property_faultactor_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
327 zend_string_release(property_faultactor_name);
328
329 zval property_detail_default_value;
330 ZVAL_NULL(&property_detail_default_value);
331 zend_string *property_detail_name = zend_string_init("detail", sizeof("detail") - 1, 1);
332 zend_declare_typed_property(class_entry, property_detail_name, &property_detail_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_ANY));
333 zend_string_release(property_detail_name);
334
335 zval property__name_default_value;
336 ZVAL_NULL(&property__name_default_value);
337 zend_string *property__name_name = zend_string_init("_name", sizeof("_name") - 1, 1);
338 zend_declare_typed_property(class_entry, property__name_name, &property__name_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
339 zend_string_release(property__name_name);
340
341 zval property_headerfault_default_value;
342 ZVAL_NULL(&property_headerfault_default_value);
343 zend_string *property_headerfault_name = zend_string_init("headerfault", sizeof("headerfault") - 1, 1);
344 zend_declare_typed_property(class_entry, property_headerfault_name, &property_headerfault_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_ANY));
345 zend_string_release(property_headerfault_name);
346
347 return class_entry;
348 }
349
register_class_SoapVar(void)350 static zend_class_entry *register_class_SoapVar(void)
351 {
352 zend_class_entry ce, *class_entry;
353
354 INIT_CLASS_ENTRY(ce, "SoapVar", class_SoapVar_methods);
355 class_entry = zend_register_internal_class_ex(&ce, NULL);
356
357 zval property_enc_type_default_value;
358 ZVAL_UNDEF(&property_enc_type_default_value);
359 zend_string *property_enc_type_name = zend_string_init("enc_type", sizeof("enc_type") - 1, 1);
360 zend_declare_typed_property(class_entry, property_enc_type_name, &property_enc_type_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
361 zend_string_release(property_enc_type_name);
362
363 zval property_enc_value_default_value;
364 ZVAL_NULL(&property_enc_value_default_value);
365 zend_string *property_enc_value_name = zend_string_init("enc_value", sizeof("enc_value") - 1, 1);
366 zend_declare_typed_property(class_entry, property_enc_value_name, &property_enc_value_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_ANY));
367 zend_string_release(property_enc_value_name);
368
369 zval property_enc_stype_default_value;
370 ZVAL_NULL(&property_enc_stype_default_value);
371 zend_string *property_enc_stype_name = zend_string_init("enc_stype", sizeof("enc_stype") - 1, 1);
372 zend_declare_typed_property(class_entry, property_enc_stype_name, &property_enc_stype_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
373 zend_string_release(property_enc_stype_name);
374
375 zval property_enc_ns_default_value;
376 ZVAL_NULL(&property_enc_ns_default_value);
377 zend_string *property_enc_ns_name = zend_string_init("enc_ns", sizeof("enc_ns") - 1, 1);
378 zend_declare_typed_property(class_entry, property_enc_ns_name, &property_enc_ns_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
379 zend_string_release(property_enc_ns_name);
380
381 zval property_enc_name_default_value;
382 ZVAL_NULL(&property_enc_name_default_value);
383 zend_string *property_enc_name_name = zend_string_init("enc_name", sizeof("enc_name") - 1, 1);
384 zend_declare_typed_property(class_entry, property_enc_name_name, &property_enc_name_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
385 zend_string_release(property_enc_name_name);
386
387 zval property_enc_namens_default_value;
388 ZVAL_NULL(&property_enc_namens_default_value);
389 zend_string *property_enc_namens_name = zend_string_init("enc_namens", sizeof("enc_namens") - 1, 1);
390 zend_declare_typed_property(class_entry, property_enc_namens_name, &property_enc_namens_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
391 zend_string_release(property_enc_namens_name);
392
393 return class_entry;
394 }
395
register_class_SoapServer(void)396 static zend_class_entry *register_class_SoapServer(void)
397 {
398 zend_class_entry ce, *class_entry;
399
400 INIT_CLASS_ENTRY(ce, "SoapServer", class_SoapServer_methods);
401 class_entry = zend_register_internal_class_ex(&ce, NULL);
402
403 zval property_service_default_value;
404 ZVAL_NULL(&property_service_default_value);
405 zend_string *property_service_name = zend_string_init("service", sizeof("service") - 1, 1);
406 zend_declare_property_ex(class_entry, property_service_name, &property_service_default_value, ZEND_ACC_PRIVATE, NULL);
407 zend_string_release(property_service_name);
408
409 zend_string *property___soap_fault_class_SoapFault = zend_string_init("SoapFault", sizeof("SoapFault")-1, 1);
410 zval property___soap_fault_default_value;
411 ZVAL_NULL(&property___soap_fault_default_value);
412 zend_string *property___soap_fault_name = zend_string_init("__soap_fault", sizeof("__soap_fault") - 1, 1);
413 zend_declare_typed_property(class_entry, property___soap_fault_name, &property___soap_fault_default_value, ZEND_ACC_PRIVATE, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property___soap_fault_class_SoapFault, 0, MAY_BE_NULL));
414 zend_string_release(property___soap_fault_name);
415
416 return class_entry;
417 }
418
register_class_SoapClient(void)419 static zend_class_entry *register_class_SoapClient(void)
420 {
421 zend_class_entry ce, *class_entry;
422
423 INIT_CLASS_ENTRY(ce, "SoapClient", class_SoapClient_methods);
424 class_entry = zend_register_internal_class_ex(&ce, NULL);
425
426 zval property_uri_default_value;
427 ZVAL_NULL(&property_uri_default_value);
428 zend_string *property_uri_name = zend_string_init("uri", sizeof("uri") - 1, 1);
429 zend_declare_typed_property(class_entry, property_uri_name, &property_uri_default_value, ZEND_ACC_PRIVATE, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
430 zend_string_release(property_uri_name);
431
432 zval property_style_default_value;
433 ZVAL_NULL(&property_style_default_value);
434 zend_string *property_style_name = zend_string_init("style", sizeof("style") - 1, 1);
435 zend_declare_typed_property(class_entry, property_style_name, &property_style_default_value, ZEND_ACC_PRIVATE, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG|MAY_BE_NULL));
436 zend_string_release(property_style_name);
437
438 zval property_use_default_value;
439 ZVAL_NULL(&property_use_default_value);
440 zend_string *property_use_name = zend_string_init("use", sizeof("use") - 1, 1);
441 zend_declare_typed_property(class_entry, property_use_name, &property_use_default_value, ZEND_ACC_PRIVATE, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG|MAY_BE_NULL));
442 zend_string_release(property_use_name);
443
444 zval property_location_default_value;
445 ZVAL_NULL(&property_location_default_value);
446 zend_string *property_location_name = zend_string_init("location", sizeof("location") - 1, 1);
447 zend_declare_typed_property(class_entry, property_location_name, &property_location_default_value, ZEND_ACC_PRIVATE, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
448 zend_string_release(property_location_name);
449
450 zval property_trace_default_value;
451 ZVAL_BOOL(&property_trace_default_value, 0);
452 zend_string *property_trace_name = zend_string_init("trace", sizeof("trace") - 1, 1);
453 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_BOOL));
454 zend_string_release(property_trace_name);
455
456 zval property_compression_default_value;
457 ZVAL_NULL(&property_compression_default_value);
458 zend_string *property_compression_name = zend_string_init("compression", sizeof("compression") - 1, 1);
459 zend_declare_typed_property(class_entry, property_compression_name, &property_compression_default_value, ZEND_ACC_PRIVATE, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG|MAY_BE_NULL));
460 zend_string_release(property_compression_name);
461
462 zval property_sdl_default_value;
463 ZVAL_NULL(&property_sdl_default_value);
464 zend_string *property_sdl_name = zend_string_init("sdl", sizeof("sdl") - 1, 1);
465 zend_declare_property_ex(class_entry, property_sdl_name, &property_sdl_default_value, ZEND_ACC_PRIVATE, NULL);
466 zend_string_release(property_sdl_name);
467
468 zval property_typemap_default_value;
469 ZVAL_NULL(&property_typemap_default_value);
470 zend_string *property_typemap_name = zend_string_init("typemap", sizeof("typemap") - 1, 1);
471 zend_declare_property_ex(class_entry, property_typemap_name, &property_typemap_default_value, ZEND_ACC_PRIVATE, NULL);
472 zend_string_release(property_typemap_name);
473
474 zval property_httpsocket_default_value;
475 ZVAL_NULL(&property_httpsocket_default_value);
476 zend_string *property_httpsocket_name = zend_string_init("httpsocket", sizeof("httpsocket") - 1, 1);
477 zend_declare_property_ex(class_entry, property_httpsocket_name, &property_httpsocket_default_value, ZEND_ACC_PRIVATE, NULL);
478 zend_string_release(property_httpsocket_name);
479
480 zval property_httpurl_default_value;
481 ZVAL_NULL(&property_httpurl_default_value);
482 zend_string *property_httpurl_name = zend_string_init("httpurl", sizeof("httpurl") - 1, 1);
483 zend_declare_property_ex(class_entry, property_httpurl_name, &property_httpurl_default_value, ZEND_ACC_PRIVATE, NULL);
484 zend_string_release(property_httpurl_name);
485
486 zval property__login_default_value;
487 ZVAL_NULL(&property__login_default_value);
488 zend_string *property__login_name = zend_string_init("_login", sizeof("_login") - 1, 1);
489 zend_declare_typed_property(class_entry, property__login_name, &property__login_default_value, ZEND_ACC_PRIVATE, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
490 zend_string_release(property__login_name);
491
492 zval property__password_default_value;
493 ZVAL_NULL(&property__password_default_value);
494 zend_string *property__password_name = zend_string_init("_password", sizeof("_password") - 1, 1);
495 zend_declare_typed_property(class_entry, property__password_name, &property__password_default_value, ZEND_ACC_PRIVATE, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
496 zend_string_release(property__password_name);
497
498 zval property__use_digest_default_value;
499 ZVAL_BOOL(&property__use_digest_default_value, 0);
500 zend_string *property__use_digest_name = zend_string_init("_use_digest", sizeof("_use_digest") - 1, 1);
501 zend_declare_typed_property(class_entry, property__use_digest_name, &property__use_digest_default_value, ZEND_ACC_PRIVATE, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
502 zend_string_release(property__use_digest_name);
503
504 zval property__digest_default_value;
505 ZVAL_NULL(&property__digest_default_value);
506 zend_string *property__digest_name = zend_string_init("_digest", sizeof("_digest") - 1, 1);
507 zend_declare_typed_property(class_entry, property__digest_name, &property__digest_default_value, ZEND_ACC_PRIVATE, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
508 zend_string_release(property__digest_name);
509
510 zval property__proxy_host_default_value;
511 ZVAL_NULL(&property__proxy_host_default_value);
512 zend_string *property__proxy_host_name = zend_string_init("_proxy_host", sizeof("_proxy_host") - 1, 1);
513 zend_declare_typed_property(class_entry, property__proxy_host_name, &property__proxy_host_default_value, ZEND_ACC_PRIVATE, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
514 zend_string_release(property__proxy_host_name);
515
516 zval property__proxy_port_default_value;
517 ZVAL_NULL(&property__proxy_port_default_value);
518 zend_string *property__proxy_port_name = zend_string_init("_proxy_port", sizeof("_proxy_port") - 1, 1);
519 zend_declare_typed_property(class_entry, property__proxy_port_name, &property__proxy_port_default_value, ZEND_ACC_PRIVATE, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG|MAY_BE_NULL));
520 zend_string_release(property__proxy_port_name);
521
522 zval property__proxy_login_default_value;
523 ZVAL_NULL(&property__proxy_login_default_value);
524 zend_string *property__proxy_login_name = zend_string_init("_proxy_login", sizeof("_proxy_login") - 1, 1);
525 zend_declare_typed_property(class_entry, property__proxy_login_name, &property__proxy_login_default_value, ZEND_ACC_PRIVATE, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
526 zend_string_release(property__proxy_login_name);
527
528 zval property__proxy_password_default_value;
529 ZVAL_NULL(&property__proxy_password_default_value);
530 zend_string *property__proxy_password_name = zend_string_init("_proxy_password", sizeof("_proxy_password") - 1, 1);
531 zend_declare_typed_property(class_entry, property__proxy_password_name, &property__proxy_password_default_value, ZEND_ACC_PRIVATE, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
532 zend_string_release(property__proxy_password_name);
533
534 zval property__exceptions_default_value;
535 ZVAL_BOOL(&property__exceptions_default_value, 1);
536 zend_string *property__exceptions_name = zend_string_init("_exceptions", sizeof("_exceptions") - 1, 1);
537 zend_declare_typed_property(class_entry, property__exceptions_name, &property__exceptions_default_value, ZEND_ACC_PRIVATE, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
538 zend_string_release(property__exceptions_name);
539
540 zval property__encoding_default_value;
541 ZVAL_NULL(&property__encoding_default_value);
542 zend_string *property__encoding_name = zend_string_init("_encoding", sizeof("_encoding") - 1, 1);
543 zend_declare_typed_property(class_entry, property__encoding_name, &property__encoding_default_value, ZEND_ACC_PRIVATE, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
544 zend_string_release(property__encoding_name);
545
546 zval property__classmap_default_value;
547 ZVAL_NULL(&property__classmap_default_value);
548 zend_string *property__classmap_name = zend_string_init("_classmap", sizeof("_classmap") - 1, 1);
549 zend_declare_typed_property(class_entry, property__classmap_name, &property__classmap_default_value, ZEND_ACC_PRIVATE, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_ARRAY|MAY_BE_NULL));
550 zend_string_release(property__classmap_name);
551
552 zval property__features_default_value;
553 ZVAL_NULL(&property__features_default_value);
554 zend_string *property__features_name = zend_string_init("_features", sizeof("_features") - 1, 1);
555 zend_declare_typed_property(class_entry, property__features_name, &property__features_default_value, ZEND_ACC_PRIVATE, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG|MAY_BE_NULL));
556 zend_string_release(property__features_name);
557
558 zval property__connection_timeout_default_value;
559 ZVAL_LONG(&property__connection_timeout_default_value, 0);
560 zend_string *property__connection_timeout_name = zend_string_init("_connection_timeout", sizeof("_connection_timeout") - 1, 1);
561 zend_declare_typed_property(class_entry, property__connection_timeout_name, &property__connection_timeout_default_value, ZEND_ACC_PRIVATE, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
562 zend_string_release(property__connection_timeout_name);
563
564 zval property__stream_context_default_value;
565 ZVAL_NULL(&property__stream_context_default_value);
566 zend_string *property__stream_context_name = zend_string_init("_stream_context", sizeof("_stream_context") - 1, 1);
567 zend_declare_property_ex(class_entry, property__stream_context_name, &property__stream_context_default_value, ZEND_ACC_PRIVATE, NULL);
568 zend_string_release(property__stream_context_name);
569
570 zval property__user_agent_default_value;
571 ZVAL_NULL(&property__user_agent_default_value);
572 zend_string *property__user_agent_name = zend_string_init("_user_agent", sizeof("_user_agent") - 1, 1);
573 zend_declare_typed_property(class_entry, property__user_agent_name, &property__user_agent_default_value, ZEND_ACC_PRIVATE, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
574 zend_string_release(property__user_agent_name);
575
576 zval property__keep_alive_default_value;
577 ZVAL_BOOL(&property__keep_alive_default_value, 1);
578 zend_string *property__keep_alive_name = zend_string_init("_keep_alive", sizeof("_keep_alive") - 1, 1);
579 zend_declare_typed_property(class_entry, property__keep_alive_name, &property__keep_alive_default_value, ZEND_ACC_PRIVATE, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL));
580 zend_string_release(property__keep_alive_name);
581
582 zval property__ssl_method_default_value;
583 ZVAL_NULL(&property__ssl_method_default_value);
584 zend_string *property__ssl_method_name = zend_string_init("_ssl_method", sizeof("_ssl_method") - 1, 1);
585 zend_declare_typed_property(class_entry, property__ssl_method_name, &property__ssl_method_default_value, ZEND_ACC_PRIVATE, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG|MAY_BE_NULL));
586 zend_string_release(property__ssl_method_name);
587
588 zval property__soap_version_default_value;
589 ZVAL_UNDEF(&property__soap_version_default_value);
590 zend_string *property__soap_version_name = zend_string_init("_soap_version", sizeof("_soap_version") - 1, 1);
591 zend_declare_typed_property(class_entry, property__soap_version_name, &property__soap_version_default_value, ZEND_ACC_PRIVATE, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
592 zend_string_release(property__soap_version_name);
593
594 zval property__use_proxy_default_value;
595 ZVAL_NULL(&property__use_proxy_default_value);
596 zend_string *property__use_proxy_name = zend_string_init("_use_proxy", sizeof("_use_proxy") - 1, 1);
597 zend_declare_typed_property(class_entry, property__use_proxy_name, &property__use_proxy_default_value, ZEND_ACC_PRIVATE, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG|MAY_BE_NULL));
598 zend_string_release(property__use_proxy_name);
599
600 zval property__cookies_default_value;
601 ZVAL_EMPTY_ARRAY(&property__cookies_default_value);
602 zend_string *property__cookies_name = zend_string_init("_cookies", sizeof("_cookies") - 1, 1);
603 zend_declare_typed_property(class_entry, property__cookies_name, &property__cookies_default_value, ZEND_ACC_PRIVATE, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_ARRAY));
604 zend_string_release(property__cookies_name);
605
606 zval property___default_headers_default_value;
607 ZVAL_NULL(&property___default_headers_default_value);
608 zend_string *property___default_headers_name = zend_string_init("__default_headers", sizeof("__default_headers") - 1, 1);
609 zend_declare_typed_property(class_entry, property___default_headers_name, &property___default_headers_default_value, ZEND_ACC_PRIVATE, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_ARRAY|MAY_BE_NULL));
610 zend_string_release(property___default_headers_name);
611
612 zend_string *property___soap_fault_class_SoapFault = zend_string_init("SoapFault", sizeof("SoapFault")-1, 1);
613 zval property___soap_fault_default_value;
614 ZVAL_NULL(&property___soap_fault_default_value);
615 zend_string *property___soap_fault_name = zend_string_init("__soap_fault", sizeof("__soap_fault") - 1, 1);
616 zend_declare_typed_property(class_entry, property___soap_fault_name, &property___soap_fault_default_value, ZEND_ACC_PRIVATE, NULL, (zend_type) ZEND_TYPE_INIT_CLASS(property___soap_fault_class_SoapFault, 0, MAY_BE_NULL));
617 zend_string_release(property___soap_fault_name);
618
619 zval property___last_request_default_value;
620 ZVAL_NULL(&property___last_request_default_value);
621 zend_string *property___last_request_name = zend_string_init("__last_request", sizeof("__last_request") - 1, 1);
622 zend_declare_typed_property(class_entry, property___last_request_name, &property___last_request_default_value, ZEND_ACC_PRIVATE, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
623 zend_string_release(property___last_request_name);
624
625 zval property___last_response_default_value;
626 ZVAL_NULL(&property___last_response_default_value);
627 zend_string *property___last_response_name = zend_string_init("__last_response", sizeof("__last_response") - 1, 1);
628 zend_declare_typed_property(class_entry, property___last_response_name, &property___last_response_default_value, ZEND_ACC_PRIVATE, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
629 zend_string_release(property___last_response_name);
630
631 zval property___last_request_headers_default_value;
632 ZVAL_NULL(&property___last_request_headers_default_value);
633 zend_string *property___last_request_headers_name = zend_string_init("__last_request_headers", sizeof("__last_request_headers") - 1, 1);
634 zend_declare_typed_property(class_entry, property___last_request_headers_name, &property___last_request_headers_default_value, ZEND_ACC_PRIVATE, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
635 zend_string_release(property___last_request_headers_name);
636
637 zval property___last_response_headers_default_value;
638 ZVAL_NULL(&property___last_response_headers_default_value);
639 zend_string *property___last_response_headers_name = zend_string_init("__last_response_headers", sizeof("__last_response_headers") - 1, 1);
640 zend_declare_typed_property(class_entry, property___last_response_headers_name, &property___last_response_headers_default_value, ZEND_ACC_PRIVATE, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING|MAY_BE_NULL));
641 zend_string_release(property___last_response_headers_name);
642
643 return class_entry;
644 }
645