diff options
Diffstat (limited to 'ext/xmlrpc/tests/bug70526.phpt')
-rw-r--r-- | ext/xmlrpc/tests/bug70526.phpt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ext/xmlrpc/tests/bug70526.phpt b/ext/xmlrpc/tests/bug70526.phpt new file mode 100644 index 0000000000..6ed3e1b997 --- /dev/null +++ b/ext/xmlrpc/tests/bug70526.phpt @@ -0,0 +1,14 @@ +--TEST-- +Bug #70526 (xmlrpc_set_type returns false on success) +--SKIPIF-- +<?php +if (!extension_loaded("xmlrpc")) print "skip"; +?> +--FILE-- +<?php +$params = date("Ymd\TH:i:s", time()); +$rv = xmlrpc_set_type($params, 'datetime'); +var_dump($rv); +?> +--EXPECT-- +bool(true) |