1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00
Files
archived-php-src/ext/com_dotnet/tests/gh8778.phpt
DanielEScherzer 41996e8d4f ext/[cd]*: fix a bunch of typos (#16298)
Only functional change is the renaming of the functions
`dom_document_substitue_entities_(read|write)` to replace `substitue` with
`substitute`.
2024-10-09 17:40:42 +02:00

20 lines
301 B
PHP

--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)