Annotation of embedaddon/php/ext/xmlrpc/tests/004.phpt, revision 1.1.1.1

1.1       misho       1: --TEST--
                      2: xmlrpc_encode() Simple test encode int
                      3: --SKIPIF--
                      4: <?php if (!extension_loaded("xmlrpc")) print "skip"; ?>
                      5: --FILE--
                      6: <?php
                      7: 
                      8: $response = xmlrpc_encode(1);
                      9: echo $response;
                     10: 
                     11: --EXPECT--
                     12: <?xml version="1.0" encoding="utf-8"?>
                     13: <params>
                     14: <param>
                     15:  <value>
                     16:   <int>1</int>
                     17:  </value>
                     18: </param>
                     19: </params>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>