xref: /PHP-8.3/ext/soap/tests/fault001.phpt (revision 7f2f0c00)
1--TEST--
2is_soap_fault 1: test against null
3--EXTENSIONS--
4soap
5--FILE--
6<?php
7var_dump(is_soap_fault(null));
8$fault = new SoapFault("code", "message");
9var_dump(is_soap_fault($fault));
10?>
11--EXPECT--
12bool(false)
13bool(true)
14