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 decoding (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.php');
11
printf("Native value: %s\n", XML_RPC2_Backend_Php_Value::createFromDecode(simplexml_load_string('<?xml version="1.0"?><value><i8>34359738368</i8></value>'))->getNativeValue());
12
?>
13
--EXPECT--
14
Native value: 34359738368