Created
August 29, 2017 13:54
-
-
Save KalleZ/d9481095fdace074b640870e0a2f6b9d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| foreach([false, 0.1, 'hello', [], new stdClass, new SoapFault('a', 'b')] as $value) | |
| { | |
| var_dump(is_soap_fault($value) === ($value instanceof SoapFault)); | |
| } | |
| ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment