xref: /PHP-7.1/ext/xmlrpc/tests/bug70526.phpt (revision 7af945e2)
1--TEST--
2Bug #70526 (xmlrpc_set_type returns false on success)
3--SKIPIF--
4<?php
5if (!extension_loaded("xmlrpc")) print "skip";
6?>
7--FILE--
8<?php
9$params = date("Ymd\TH:i:s", time());
10$rv = xmlrpc_set_type($params, 'datetime');
11var_dump($rv);
12?>
13--EXPECT--
14bool(true)
15