Return to bug21182.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / standard / tests / array |
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