#43228 [Opn]: undefined function return in ext/soap/tests/server02[1|8].phpt
| From: | david at hisel dot com | Date: | Fri, 09 Nov 2007 17:04:15 +0000 |
| Subject: | #43228 [Opn]: undefined function return in ext/soap/tests/server02[1|8].phpt | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-119398@lists.php.net to get a copy of this message | ||
ID: 43228
User updated by: david at hisel dot com
-Summary: undefined function return in
ext/soap/tests/server021.phpt
Reported By: david at hisel dot com
Status: Open
Bug Type: SOAP related
Operating System: Mac OS X
PHP Version: 5.2.4
New Comment:
I ran a grep on the tests directory and found one more...
ext/soap/tests/server028.phpt: line 12
Regards,
.dave.
Previous Comments:
------------------------------------------------------------------------
[2007-11-09 16:56:24] david at hisel dot com
Description:
------------
need to add "new" keyword, otherwise call to "return SoapFault(...)"
gives undefined function error.
ext/soap/tests/server021.phpt: line 12
return SoapFault("Server","Function $name doesn't exist");
should read:
return new SoapFault("Server","Function $name doesn't exist");
Regards,
.dave.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=43228&edit=1