xref: /PHP-7.3/ext/xmlrpc/tests/bug42189.phpt (revision 782352c5)
1--TEST--
2Bug #42189 (xmlrpc_get_type() crashes PHP on invalid dates)
3--SKIPIF--
4<?php if (!extension_loaded("xmlrpc")) print "skip"; ?>
5--FILE--
6<?php
7$a = '~~~~~~~~~~~~~~~~~~';
8$ok = xmlrpc_set_type($a, 'datetime');
9var_dump($ok);
10
11echo "Done\n";
12?>
13--EXPECT--
14bool(false)
15Done
16