]> granicus.if.org Git - php/commitdiff
This commit was manufactured by cvs2svn to create branch 'PHP_5_0'.
authorSVN Migration <svn@php.net>
Fri, 18 Feb 2005 13:37:25 +0000 (13:37 +0000)
committerSVN Migration <svn@php.net>
Fri, 18 Feb 2005 13:37:25 +0000 (13:37 +0000)
ext/standard/tests/array/bug32021.phpt [new file with mode: 0644]

diff --git a/ext/standard/tests/array/bug32021.phpt b/ext/standard/tests/array/bug32021.phpt
new file mode 100644 (file)
index 0000000..5d3b421
--- /dev/null
@@ -0,0 +1,14 @@
+--TEST--
+Bug #32021 (Crash caused by range('', 'z'))
+--FILE--
+<?php
+$foo = range('', 'z');
+var_dump($foo);
+?>
+ALIVE
+--EXPECT--
+array(1) {
+  [0]=>
+  int(0)
+}
+ALIVE