diff options
author | Dmitry Stogov <dmitry@php.net> | 2004-09-13 11:55:24 +0000 |
---|---|---|
committer | Dmitry Stogov <dmitry@php.net> | 2004-09-13 11:55:24 +0000 |
commit | 12752a4044ab8b68f3d019685a1cef0605a202f5 (patch) | |
tree | 32fa0912f990d933e6efdee1938cb1580f16c2a2 /ext/soap/tests | |
parent | 29fec3febcf2c0083cbe279b835ac8c9d64b3ac9 (diff) | |
download | php-git-12752a4044ab8b68f3d019685a1cef0605a202f5.tar.gz |
Change soap's ctors to __construct(),
rename SoapClient->__call() to SoapClinet->__soapCall().
Diffstat (limited to 'ext/soap/tests')
-rw-r--r-- | ext/soap/tests/bugs/bug28969.phpt | 4 | ||||
-rw-r--r-- | ext/soap/tests/bugs/bug29795.phpt | 4 | ||||
-rw-r--r-- | ext/soap/tests/bugs/bug29839.phpt | 4 | ||||
-rw-r--r-- | ext/soap/tests/bugs/bug29844.phpt | 4 | ||||
-rw-r--r-- | ext/soap/tests/transport001.phpt | 4 |
5 files changed, 10 insertions, 10 deletions
diff --git a/ext/soap/tests/bugs/bug28969.phpt b/ext/soap/tests/bugs/bug28969.phpt index af2fb10290..6634888eac 100644 --- a/ext/soap/tests/bugs/bug28969.phpt +++ b/ext/soap/tests/bugs/bug28969.phpt @@ -11,8 +11,8 @@ function test() { class LocalSoapClient extends SoapClient { - function LocalSoapClient($wsdl, $options) { - $this->SoapClient($wsdl, $options); + function __construct($wsdl, $options) { + parent::__construct($wsdl, $options); $this->server = new SoapServer($wsdl, $options); $this->server->addFunction('test'); } diff --git a/ext/soap/tests/bugs/bug29795.phpt b/ext/soap/tests/bugs/bug29795.phpt index f32d16a996..52f8862fda 100644 --- a/ext/soap/tests/bugs/bug29795.phpt +++ b/ext/soap/tests/bugs/bug29795.phpt @@ -6,8 +6,8 @@ Bug #29795 (SegFault with Soap and Amazon's Web Services) <?php class LocalSoapClient extends SoapClient { - function LocalSoapClient($wsdl, $options) { - $this->SoapClient($wsdl, $options); + function __construct($wsdl, $options) { + parent::__construct($wsdl, $options); } function __doRequest($request, $location, $action, $version) { diff --git a/ext/soap/tests/bugs/bug29839.phpt b/ext/soap/tests/bugs/bug29839.phpt index ab05820f0a..25b4512a72 100644 --- a/ext/soap/tests/bugs/bug29839.phpt +++ b/ext/soap/tests/bugs/bug29839.phpt @@ -11,8 +11,8 @@ function EchoString($s) { class LocalSoapClient extends SoapClient { - function LocalSoapClient($wsdl, $options) { - $this->SoapClient($wsdl, $options); + function __construct($wsdl, $options) { + parent::__construct($wsdl, $options); $this->server = new SoapServer($wsdl, $options); $this->server->addFunction('EchoString'); } diff --git a/ext/soap/tests/bugs/bug29844.phpt b/ext/soap/tests/bugs/bug29844.phpt index baf7cde6d3..bef8335709 100644 --- a/ext/soap/tests/bugs/bug29844.phpt +++ b/ext/soap/tests/bugs/bug29844.phpt @@ -13,8 +13,8 @@ class hello_world { class LocalSoapClient extends SoapClient { - function LocalSoapClient($wsdl, $options) { - $this->SoapClient($wsdl, $options); + function __construct($wsdl, $options) { + parent::__construct($wsdl, $options); $this->server = new SoapServer($wsdl, $options); $this->server->setClass('hello_world');; } diff --git a/ext/soap/tests/transport001.phpt b/ext/soap/tests/transport001.phpt index ae4de92524..9134d3d7fb 100644 --- a/ext/soap/tests/transport001.phpt +++ b/ext/soap/tests/transport001.phpt @@ -10,8 +10,8 @@ function Add($x,$y) { class LocalSoapClient extends SoapClient { - function LocalSoapClient($wsdl, $options) { - $this->SoapClient($wsdl, $options); + function __construct($wsdl, $options) { + parent::__construct($wsdl, $options); $this->server = new SoapServer($wsdl, $options); $this->server->addFunction('Add'); } |