@@ -197,7 +197,7 @@ PHP_FUNCTION(is_soap_fault);
197
197
198
198
199
199
/* Server Functions */
200
- PHP_METHOD (SoapServer , SoapServer );
200
+ PHP_METHOD (SoapServer , __construct );
201
201
PHP_METHOD (SoapServer , setClass );
202
202
PHP_METHOD (SoapServer , setObject );
203
203
PHP_METHOD (SoapServer , addFunction );
@@ -208,7 +208,7 @@ PHP_METHOD(SoapServer, fault);
208
208
PHP_METHOD (SoapServer , addSoapHeader );
209
209
210
210
/* Client Functions */
211
- PHP_METHOD (SoapClient , SoapClient );
211
+ PHP_METHOD (SoapClient , __construct );
212
212
PHP_METHOD (SoapClient , __call );
213
213
PHP_METHOD (SoapClient , __getLastRequest );
214
214
PHP_METHOD (SoapClient , __getLastResponse );
@@ -223,38 +223,36 @@ PHP_METHOD(SoapClient, __setLocation);
223
223
PHP_METHOD (SoapClient , __setSoapHeaders );
224
224
225
225
/* SoapVar Functions */
226
- PHP_METHOD (SoapVar , SoapVar );
226
+ PHP_METHOD (SoapVar , __construct );
227
227
228
228
/* SoapFault Functions */
229
- PHP_METHOD (SoapFault , SoapFault );
229
+ PHP_METHOD (SoapFault , __construct );
230
230
PHP_METHOD (SoapFault , __toString );
231
231
232
232
/* SoapParam Functions */
233
- PHP_METHOD (SoapParam , SoapParam );
233
+ PHP_METHOD (SoapParam , __construct );
234
234
235
235
/* SoapHeader Functions */
236
- PHP_METHOD (SoapHeader , SoapHeader );
237
-
238
- #define SOAP_CTOR (class_name , func_name , arginfo , flags ) PHP_ME(class_name, func_name, arginfo, flags)
236
+ PHP_METHOD (SoapHeader , __construct );
239
237
240
238
/* {{{ arginfo */
241
239
ZEND_BEGIN_ARG_INFO (arginfo_soap__void , 0 )
242
240
ZEND_END_ARG_INFO ()
243
241
244
- ZEND_BEGIN_ARG_INFO_EX (arginfo_soapparam_soapparam , 0 , 0 , 2 )
242
+ ZEND_BEGIN_ARG_INFO_EX (arginfo_soapparam___construct , 0 , 0 , 2 )
245
243
ZEND_ARG_INFO (0 , data )
246
244
ZEND_ARG_INFO (0 , name )
247
245
ZEND_END_ARG_INFO ()
248
246
249
- ZEND_BEGIN_ARG_INFO_EX (arginfo_soapheader_soapheader , 0 , 0 , 2 )
247
+ ZEND_BEGIN_ARG_INFO_EX (arginfo_soapheader___construct , 0 , 0 , 2 )
250
248
ZEND_ARG_INFO (0 , namespace )
251
249
ZEND_ARG_INFO (0 , name )
252
250
ZEND_ARG_INFO (0 , data )
253
251
ZEND_ARG_INFO (0 , mustunderstand )
254
252
ZEND_ARG_INFO (0 , actor )
255
253
ZEND_END_ARG_INFO ()
256
254
257
- ZEND_BEGIN_ARG_INFO_EX (arginfo_soapfault_soapfault , 0 , 0 , 2 )
255
+ ZEND_BEGIN_ARG_INFO_EX (arginfo_soapfault___construct , 0 , 0 , 2 )
258
256
ZEND_ARG_INFO (0 , faultcode )
259
257
ZEND_ARG_INFO (0 , faultstring )
260
258
ZEND_ARG_INFO (0 , faultactor )
@@ -263,7 +261,7 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_soapfault_soapfault, 0, 0, 2)
263
261
ZEND_ARG_INFO (0 , headerfault )
264
262
ZEND_END_ARG_INFO ()
265
263
266
- ZEND_BEGIN_ARG_INFO_EX (arginfo_soapvar_soapvar , 0 , 0 , 2 )
264
+ ZEND_BEGIN_ARG_INFO_EX (arginfo_soapvar___construct , 0 , 0 , 2 )
267
265
ZEND_ARG_INFO (0 , data )
268
266
ZEND_ARG_INFO (0 , encoding )
269
267
ZEND_ARG_INFO (0 , type_name )
@@ -284,7 +282,7 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_soapserver_addsoapheader, 0, 0, 1)
284
282
ZEND_ARG_INFO (0 , object )
285
283
ZEND_END_ARG_INFO ()
286
284
287
- ZEND_BEGIN_ARG_INFO_EX (arginfo_soapserver_soapserver , 0 , 0 , 1 )
285
+ ZEND_BEGIN_ARG_INFO_EX (arginfo_soapserver___construct , 0 , 0 , 1 )
288
286
ZEND_ARG_INFO (0 , wsdl )
289
287
ZEND_ARG_INFO (0 , options )
290
288
ZEND_END_ARG_INFO ()
@@ -313,7 +311,7 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_soapserver_handle, 0, 0, 0)
313
311
ZEND_ARG_INFO (0 , soap_request )
314
312
ZEND_END_ARG_INFO ()
315
313
316
- ZEND_BEGIN_ARG_INFO_EX (arginfo_soapclient_soapclient , 0 , 0 , 1 )
314
+ ZEND_BEGIN_ARG_INFO_EX (arginfo_soapclient___construct , 0 , 0 , 1 )
317
315
ZEND_ARG_INFO (0 , wsdl )
318
316
ZEND_ARG_INFO (0 , options )
319
317
ZEND_END_ARG_INFO ()
@@ -389,13 +387,13 @@ static const zend_function_entry soap_functions[] = {
389
387
};
390
388
391
389
static const zend_function_entry soap_fault_functions [] = {
392
- SOAP_CTOR (SoapFault , SoapFault , arginfo_soapfault_soapfault , 0 )
390
+ PHP_ME (SoapFault , __construct , arginfo_soapfault___construct , 0 )
393
391
PHP_ME (SoapFault , __toString , arginfo_soap__void , 0 )
394
392
PHP_FE_END
395
393
};
396
394
397
395
static const zend_function_entry soap_server_functions [] = {
398
- SOAP_CTOR (SoapServer , SoapServer , arginfo_soapserver_soapserver , 0 )
396
+ PHP_ME (SoapServer , __construct , arginfo_soapserver___construct , 0 )
399
397
PHP_ME (SoapServer , setPersistence , arginfo_soapserver_setpersistence , 0 )
400
398
PHP_ME (SoapServer , setClass , arginfo_soapserver_setclass , 0 )
401
399
PHP_ME (SoapServer , setObject , arginfo_soapserver_setobject , 0 )
@@ -408,7 +406,7 @@ static const zend_function_entry soap_server_functions[] = {
408
406
};
409
407
410
408
static const zend_function_entry soap_client_functions [] = {
411
- SOAP_CTOR (SoapClient , SoapClient , arginfo_soapclient_soapclient , 0 )
409
+ PHP_ME (SoapClient , __construct , arginfo_soapclient___construct , 0 )
412
410
PHP_ME (SoapClient , __call , arginfo_soapclient___call , 0 )
413
411
ZEND_NAMED_ME (__soapCall , ZEND_MN (SoapClient___call ), arginfo_soapclient___soapcall , 0 )
414
412
PHP_ME (SoapClient , __getLastRequest , arginfo_soapclient___getlastrequest , 0 )
@@ -426,17 +424,17 @@ static const zend_function_entry soap_client_functions[] = {
426
424
};
427
425
428
426
static const zend_function_entry soap_var_functions [] = {
429
- SOAP_CTOR (SoapVar , SoapVar , arginfo_soapvar_soapvar , 0 )
427
+ PHP_ME (SoapVar , __construct , arginfo_soapvar___construct , 0 )
430
428
PHP_FE_END
431
429
};
432
430
433
431
static const zend_function_entry soap_param_functions [] = {
434
- SOAP_CTOR (SoapParam , SoapParam , arginfo_soapparam_soapparam , 0 )
432
+ PHP_ME (SoapParam , __construct , arginfo_soapparam___construct , 0 )
435
433
PHP_FE_END
436
434
};
437
435
438
436
static const zend_function_entry soap_header_functions [] = {
439
- SOAP_CTOR (SoapHeader , SoapHeader , arginfo_soapheader_soapheader , 0 )
437
+ PHP_ME (SoapHeader , __construct , arginfo_soapheader___construct , 0 )
440
438
PHP_FE_END
441
439
};
442
440
@@ -785,9 +783,9 @@ PHP_MINFO_FUNCTION(soap)
785
783
}
786
784
787
785
788
- /* {{{ proto object SoapParam::SoapParam (mixed data, string name)
786
+ /* {{{ proto object SoapParam::__construct (mixed data, string name)
789
787
SoapParam constructor */
790
- PHP_METHOD (SoapParam , SoapParam )
788
+ PHP_METHOD (SoapParam , __construct )
791
789
{
792
790
zval * data ;
793
791
char * name ;
@@ -809,9 +807,9 @@ PHP_METHOD(SoapParam, SoapParam)
809
807
/* }}} */
810
808
811
809
812
- /* {{{ proto object SoapHeader::SoapHeader (string namespace, string name [, mixed data [, bool mustUnderstand [, mixed actor]]])
810
+ /* {{{ proto object SoapHeader::__construct (string namespace, string name [, mixed data [, bool mustUnderstand [, mixed actor]]])
813
811
SoapHeader constructor */
814
- PHP_METHOD (SoapHeader , SoapHeader )
812
+ PHP_METHOD (SoapHeader , __construct )
815
813
{
816
814
zval * data = NULL , * actor = NULL ;
817
815
char * name , * ns ;
@@ -852,9 +850,9 @@ PHP_METHOD(SoapHeader, SoapHeader)
852
850
}
853
851
/* }}} */
854
852
855
- /* {{{ proto object SoapFault::SoapFault (string faultcode, string faultstring [, string faultactor [, mixed detail [, string faultname [, mixed headerfault]]]])
853
+ /* {{{ proto object SoapFault::__construct (string faultcode, string faultstring [, string faultactor [, mixed detail [, string faultname [, mixed headerfault]]]])
856
854
SoapFault constructor */
857
- PHP_METHOD (SoapFault , SoapFault )
855
+ PHP_METHOD (SoapFault , __construct )
858
856
{
859
857
char * fault_string = NULL , * fault_code = NULL , * fault_actor = NULL , * name = NULL , * fault_code_ns = NULL ;
860
858
size_t fault_string_len , fault_actor_len = 0 , name_len = 0 , fault_code_len = 0 ;
@@ -955,9 +953,9 @@ PHP_METHOD(SoapFault, __toString)
955
953
}
956
954
/* }}} */
957
955
958
- /* {{{ proto object SoapVar::SoapVar (mixed data, int encoding [, string type_name [, string type_namespace [, string node_name [, string node_namespace]]]])
956
+ /* {{{ proto object SoapVar::__construct (mixed data, int encoding [, string type_name [, string type_namespace [, string node_name [, string node_namespace]]]])
959
957
SoapVar constructor */
960
- PHP_METHOD (SoapVar , SoapVar )
958
+ PHP_METHOD (SoapVar , __construct )
961
959
{
962
960
zval * data , * type , * this_ptr ;
963
961
char * stype = NULL , * ns = NULL , * name = NULL , * namens = NULL ;
@@ -1102,9 +1100,9 @@ static HashTable* soap_create_typemap(sdlPtr sdl, HashTable *ht) /* {{{ */
1102
1100
}
1103
1101
/* }}} */
1104
1102
1105
- /* {{{ proto object SoapServer::SoapServer (mixed wsdl [, array options])
1103
+ /* {{{ proto object SoapServer::__construct (mixed wsdl [, array options])
1106
1104
SoapServer constructor */
1107
- PHP_METHOD (SoapServer , SoapServer )
1105
+ PHP_METHOD (SoapServer , __construct )
1108
1106
{
1109
1107
soapServicePtr service ;
1110
1108
zval * wsdl = NULL , * options = NULL ;
@@ -2256,9 +2254,9 @@ PHP_FUNCTION(is_soap_fault)
2256
2254
2257
2255
/* SoapClient functions */
2258
2256
2259
- /* {{{ proto object SoapClient::SoapClient (mixed wsdl [, array options])
2257
+ /* {{{ proto object SoapClient::__construct (mixed wsdl [, array options])
2260
2258
SoapClient constructor */
2261
- PHP_METHOD (SoapClient , SoapClient )
2259
+ PHP_METHOD (SoapClient , __construct )
2262
2260
{
2263
2261
2264
2262
zval * wsdl , * options = NULL ;
0 commit comments