xref: /PHP-7.1/ext/standard/tests/array/bug21182.phpt (revision b996b320)
1--TEST--
2Bug #21182 (range modifies arguments)
3--FILE--
4<?php
5$a = "20"; $b = "30";
6echo "a1: $a\n";
7$result = range($a, $b);
8echo "a2: $a : type : " . gettype($a) . "\n";
9?>
10--EXPECT--
11a1: 20
12a2: 20 : type : string
13