1
0
mirror of https://github.com/php/php-src.git synced 2026-03-25 16:52:18 +01:00
Files
archived-php-src/ext/standard/tests/array/bug21182.phpt
2002-12-25 20:08:36 +00:00

13 lines
216 B
PHP

--TEST--
Bug #21182 (range modifies arguments)
--FILE--
<?php
$a = "20"; $b = "30";
echo "a1: $a\n";
$result = range($a, $b);
echo "a2: $a : type : " . gettype($a) . "\n";
?>
--EXPECT--
a1: 20
a2: 20 : type : string