TypePHP 编译器
https://swoole.com/aot/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
384 B
24 lines
384 B
--TEST--
|
|
Incrementing max int values 64bit
|
|
--SKIPIF--
|
|
<?php if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); ?>
|
|
--INI--
|
|
precision=14
|
|
--FILE--
|
|
<?php
|
|
|
|
$values = [
|
|
PHP_INT_MAX,
|
|
(string)PHP_INT_MAX
|
|
];
|
|
|
|
foreach ($values as $var) {
|
|
$var++;
|
|
var_dump($var);
|
|
}
|
|
echo "Done\n";
|
|
?>
|
|
--EXPECT--
|
|
float(9.223372036854776E+18)
|
|
float(9.223372036854776E+18)
|
|
Done
|
|
|