1--TEST--
2Decrementing min 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-1,
12    (string)(-PHP_INT_MAX-1),
13];
14
15foreach ($values as $var) {
16    $var--;
17    var_dump($var);
18}
19
20echo "Done\n";
21?>
22--EXPECT--
23float(-9.223372036854776E+18)
24float(-9.223372036854776E+18)
25Done
26