![]() ![]() | ![]() |
1.1 ! misho 1: --TEST-- ! 2: Bug #21182 (range modifies arguments) ! 3: --FILE-- ! 4: <?php ! 5: $a = "20"; $b = "30"; ! 6: echo "a1: $a\n"; ! 7: $result = range($a, $b); ! 8: echo "a2: $a : type : " . gettype($a) . "\n"; ! 9: ?> ! 10: --EXPECT-- ! 11: a1: 20 ! 12: a2: 20 : type : string