File size: 301 Bytes
1e94262 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | --TEST--
Bug GH-8778 (Integer arithmetic with large number variants fails)
--EXTENSIONS--
com_dotnet
--SKIPIF--
<?php
if (PHP_INT_SIZE < 8) die("skip for 64bit only");
?>
--FILE--
<?php
$int = 0x100000000;
var_dump(
$int,
new variant($int) + 1
);
?>
--EXPECT--
int(4294967296)
int(4294967297)
|