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
300 B
12 lines
300 B
--TEST--
|
|
Bug #70239 Creating a huge array doesn't result in exhausted, but segfault, var 3
|
|
--FILE--
|
|
<?php
|
|
try {
|
|
var_dump(range(0, PHP_INT_MAX));
|
|
} catch (\ValueError $e) {
|
|
echo $e->getMessage() . "\n";
|
|
}
|
|
?>
|
|
--EXPECTF--
|
|
The supplied range exceeds the maximum array size: start=0 end=%d step=1
|
|
|