]> granicus.if.org Git - php/commitdiff
MFB: Fixed parse error described in bug #43228
authorIlia Alshanetsky <iliaa@php.net>
Sun, 11 Nov 2007 13:38:28 +0000 (13:38 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Sun, 11 Nov 2007 13:38:28 +0000 (13:38 +0000)
ext/soap/tests/server021.phpt

index d9913060b6e7b285a1c9d41de377dbc92beb2030..245c464433c6f6c2382ac5999f2f8185b4a3a884 100644 (file)
@@ -9,7 +9,7 @@ class Foo {
     if ($name == "test") {
       return "Hello World";
     } else {
-      return SoapFault("Server","Function $name doesn't exist");
+      return new SoapFault("Server","Function $name doesn't exist");
     }
   }
 }