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