1
0
mirror of https://github.com/php/php-src.git synced 2026-04-17 21:11:02 +02:00
Files
archived-php-src/ext/standard/tests/array/range_bug70239_3.phpt
2015-08-14 14:34:48 +02:00

12 lines
327 B
PHP

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