#43228 [Opn->Csd]: undefined function return in ext/soap/tests/server02[1|8].phpt

From: Date: Sun, 11 Nov 2007 13:38:41 +0000
Subject: #43228 [Opn->Csd]: 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-119439@lists.php.net to get a copy of this message
ID: 43228 Updated by: iliaa@php.net Reported By: david at hisel dot com -Status: Open +Status: Closed Bug Type: SOAP related Operating System: Mac OS X PHP Version: 5.2.4 New Comment: This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2007-11-09 17:04:14] david at hisel dot com I ran a grep on the tests directory and found one more... ext/soap/tests/server028.phpt: line 12 Regards, .dave. ------------------------------------------------------------------------ [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

« previous php.bugs (#119439) next »