1--TEST--
2range() allows $step parameter to be negative for decreasing ranges
3--INI--
4precision=14
5--FILE--
6<?php
7var_dump(range('c', 'a', -1));
8var_dump(range(3, 1, -1));
9var_dump(range(3.5, 1.5, -1.5));
10?>
11--EXPECT--
12array(3) {
13  [0]=>
14  string(1) "c"
15  [1]=>
16  string(1) "b"
17  [2]=>
18  string(1) "a"
19}
20array(3) {
21  [0]=>
22  int(3)
23  [1]=>
24  int(2)
25  [2]=>
26  int(1)
27}
28array(2) {
29  [0]=>
30  float(3.5)
31  [1]=>
32  float(2)
33}
34