1--TEST--
2GH-14775: Range negative step overflow
3--FILE--
4<?php
5$var = -PHP_INT_MAX - 1;
6try {
7 range($var,1,$var);
8} catch (\ValueError $e) {
9 echo $e->getMessage() . PHP_EOL;
10}
11--EXPECTF--
12range(): Argument #3 ($step) must be greater than %s
13