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