Voting

: max(four, five)?
(Example: nine)

The Note You're Voting On

csnaitsirch at web dot de
15 years ago
The first Parameter of the constructor, the faultcode, of SoapFault must be a string. Otherwise it will lead to an error.

<?php
throw new SoapFault(1, "Error message!"); // wrong
throw new SoapFault("1", "Error message!"); // right
?>

<< Back to user notes page

To Top