1--TEST--
2Incrementing max int values 64bit
3--SKIPIF--
4<?php if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); ?>
5--INI--
6precision=14
7--FILE--
8<?php
9
10$values = [
11    PHP_INT_MAX,
12    (string)PHP_INT_MAX
13];
14
15foreach ($values as $var) {
16    $var++;
17    var_dump($var);
18}
19echo "Done\n";
20?>
21--EXPECT--
22float(9.223372036854776E+18)
23float(9.223372036854776E+18)
24Done
25