xref: /PHP-8.0/ext/soap/tests/fault001.phpt (revision 73404663)
1--TEST--
2is_soap_fault 1: test against null
3--SKIPIF--
4<?php require_once('skipif.inc'); ?>
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