1--TEST--
2Bug #70239 Creating a huge array doesn't result in exhausted, but segfault, var 2
3--FILE--
4<?php
5try {
6    range(pow(2.0, 100000000), pow(2.0, 100000000) + 1);
7} catch (\ValueError $e) {
8    echo $e->getMessage() . "\n";
9}
10?>
11--EXPECT--
12range(): Argument #1 ($start) must be a finite number, INF provided
13