Didn't Dmitry fix this a long time ago? My SOAP constructors work fine with __construct()
Ron
"Marcus Boerger" helly@php.net schreef in bericht news:1774206462.20040909122200@marcus-boerger.de...
Quoted text · 5 lines
Hello Dmitry,
does anything speak against changing soap's ctor's to __construct which is the PHP 5 way of doing things? Patch is attached.
--
Best regards,
Marcus
Hi Marcus,
Can you explain for what reason you changed prototype of the SoapClient::__call?
This broke receiving of SOAP headers.
Dmitry.
Quoted text · 7 lines
-----Original Message-----
From: Marcus Boerger [mailto:helly@php.net] Sent: Thursday, September 09, 2004 14:22 To: Dmitry Stogov; internals@lists.php.net Subject: [PHP-DEV] SOAP's ctor'sHello Dmitry,
does anything speak against changing soap's ctor's to __construct which is the PHP 5 way of doing things? Patch is attached.
--
Best regards,
Marcus
Hello Dmitry,
Thursday, September 9, 2004, 5:59:11 PM, you wrote:
Hi Marcus,
Can you explain for what reason you changed prototype of the SoapClient::__call?
This broke receiving of SOAP headers.
__call() is an engine feature that requires either three (PHP 4) or exactly 2 (PHP 5) parameters. If you need a more complex function then you need to provide a separate function and probably map both the new and _call onto a combined implementation.
best regards
marcus
Hi Marcus,
May be your patch make sense.
But what is the difference between SoapServer::SaopServer and SoapServer::__construct?
For me, they are equivalent.
Thanks. Dmitry.
Quoted text · 7 lines
-----Original Message-----
From: Marcus Boerger [mailto:helly@php.net] Sent: Thursday, September 09, 2004 14:22 To: Dmitry Stogov; internals@lists.php.net Subject: SOAP's ctor'sHello Dmitry,
does anything speak against changing soap's ctor's to __construct which is the PHP 5 way of doing things? Patch is attached.
--
Best regards,
Marcus
Hello Dmitry,
Thursday, September 9, 2004, 6:26:42 PM, you wrote:
Hi Marcus,
May be your patch make sense.
But what is the difference between SoapServer::SaopServer and SoapServer::__construct?
For me, they are equivalent.
__construct is the PHP 5 way whereas using the class name (PHP 4) way requires some strange work around in the engine code.
marcus