]> granicus.if.org Git - php/commitdiff
This commit was manufactured by cvs2svn to create branch 'PHP_4_3'.
authorSVN Migration <svn@php.net>
Wed, 25 Dec 2002 20:08:37 +0000 (20:08 +0000)
committerSVN Migration <svn@php.net>
Wed, 25 Dec 2002 20:08:37 +0000 (20:08 +0000)
ext/standard/tests/array/bug21182.phpt [new file with mode: 0644]

diff --git a/ext/standard/tests/array/bug21182.phpt b/ext/standard/tests/array/bug21182.phpt
new file mode 100644 (file)
index 0000000..af4602a
--- /dev/null
@@ -0,0 +1,12 @@
+--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