mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Only functional change is the renaming of the functions `dom_document_substitue_entities_(read|write)` to replace `substitue` with `substitute`.
20 lines
301 B
PHP
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)
|