1
0
mirror of https://github.com/php/php-src.git synced 2026-03-29 11:42:17 +02:00
Files
archived-php-src/ext/standard/tests/array/range_bug70239_0.phpt
2019-08-21 18:05:08 +02:00

15 lines
281 B
PHP

--TEST--
Bug #70239 Creating a huge array doesn't result in exhausted, but segfault, var 1
--FILE--
<?php
try {
range(0, pow(2.0, 100000000));
} catch (\Error $e) {
echo $e->getMessage() . "\n";
}
?>
===DONE===
--EXPECT--
Invalid range supplied: start=0 end=inf
===DONE===