Lines Matching refs:fault
7 $fault = new SoapFault("", "message"); // Can't be an empty string
8 $fault = new SoapFault(0, "message"); // Can't be a non-string (except for null)
9 $fault = new SoapFault("Sender", "message");
10 echo get_class($fault) . "\n";
11 $fault = new SoapFault(null, "message");
12 echo get_class($fault) . "\n";
13 $fault = new SoapFault(["more"], "message"); // two elements in array required
14 $fault = new SoapFault(["m", "more", "superflous"], "message"); // two required
15 $fault = new SoapFault(["more-ns", "Sender"], "message"); // two given
16 echo get_class($fault);
19 Warning: SoapFault::SoapFault(): Invalid fault code in %s on line %d
21 Warning: SoapFault::SoapFault(): Invalid fault code in %s on line %d
25 Warning: SoapFault::SoapFault(): Invalid fault code in %s on line %d
27 Warning: SoapFault::SoapFault(): Invalid fault code in %s on line %d