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.
12 lines
314 B
12 lines
314 B
--TEST--
|
|
Bug #70239 Creating a huge array doesn't result in exhausted, but segfault, var 2
|
|
--FILE--
|
|
<?php
|
|
try {
|
|
range(pow(2.0, 100000000), pow(2.0, 100000000) + 1);
|
|
} catch (\ValueError $e) {
|
|
echo $e->getMessage() . "\n";
|
|
}
|
|
?>
|
|
--EXPECT--
|
|
range(): Argument #1 ($start) must be a finite number, INF provided
|
|
|