summaryrefslogtreecommitdiff
path: root/ext/soap/tests
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2004-09-13 11:55:24 +0000
committerDmitry Stogov <dmitry@php.net>2004-09-13 11:55:24 +0000
commit12752a4044ab8b68f3d019685a1cef0605a202f5 (patch)
tree32fa0912f990d933e6efdee1938cb1580f16c2a2 /ext/soap/tests
parent29fec3febcf2c0083cbe279b835ac8c9d64b3ac9 (diff)
downloadphp-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.phpt4
-rw-r--r--ext/soap/tests/bugs/bug29795.phpt4
-rw-r--r--ext/soap/tests/bugs/bug29839.phpt4
-rw-r--r--ext/soap/tests/bugs/bug29844.phpt4
-rw-r--r--ext/soap/tests/transport001.phpt4
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');
}