summaryrefslogtreecommitdiff
path: root/ext/standard/tests/array/range_bug70239_3.phpt
blob: 8402870c82782d490e171fb76fe6858faeb85077 (plain)
1
2
3
4
5
6
7
8
9
10
11
--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=-%d end=0 in %srange_bug70239_3.php on line %d
bool(false)
===DONE===