1--TEST--
2Bug #70239 Creating a huge array doesn't result in exhausted, but segfault, var 3
3--FILE--
4<?php
5try {
6    var_dump(range(0, PHP_INT_MAX));
7} catch (\ValueError $e) {
8    echo $e->getMessage() . "\n";
9}
10?>
11--EXPECTF--
12The supplied range exceeds the maximum array size: start=0 end=%d
13