1
0
mirror of https://github.com/php/php-src.git synced 2026-03-27 17:52:16 +01:00
Files
archived-php-src/ext/standard/tests/array/range_bug70239_2.phpt
2015-08-14 14:34:48 +02:00

12 lines
326 B
PHP

--TEST--
Bug #70239 Creating a huge array doesn't result in exhausted, but segfault, var 3
--FILE--
<?php
var_dump(range(0, PHP_INT_MAX));
?>
===DONE===
--EXPECTF--
Warning: range(): The supplied range exceeds the maximum array size: start=0 end=9223372036854775808 in %srange_bug70239_2.php on line %d
bool(false)
===DONE===