Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
--TEST--
2
Integer XML-RPC encoding (Php Backend)
3
--SKIPIF--
4
<?php
5
if (PHP_INT_SIZE < 8) print "Skip: Integer64 is only available on 64bit systems"
6
?>
7
--FILE--
8
<?php
9
set_include_path(realpath(dirname(__FILE__) . '/../../../../') . PATH_SEPARATOR . get_include_path());
10
require_once 'XML/RPC2/Backend/Php/Value/Integer64.php';
11
$integer = new XML_RPC2_Backend_Php_Value_Integer64(34359738368);
12
var_dump($integer->encode());
13
?>
14
--EXPECT--
15
string(20) "<i8>34359738368</i8>"