jani Thu Nov 1 12:00:59 2007 UTC
Modified files:
/php-src/ext/standard/tests/array array_fill_variation1.phpt
Log:
fix test
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/array_fill_variation1.phpt?r1=1.1&r2=1.2&diff_format=u
Index: php-src/ext/standard/tests/array/array_fill_variation1.phpt
diff -u php-src/ext/standard/tests/array/array_fill_variation1.phpt:1.1
php-src/ext/standard/tests/array/array_fill_variation1.phpt:1.2
--- php-src/ext/standard/tests/array/array_fill_variation1.phpt:1.1 Fri Oct
19 18:25:57 2007
+++ php-src/ext/standard/tests/array/array_fill_variation1.phpt Thu Nov 1
12:00:59 2007
@@ -1,5 +1,5 @@
--TEST--
-Test array_fill() function : usage variations - unexpected values for
'start_key' argument(Bug#43017)
+Test array_fill() function : usage variations - unexpected values for
'start_key' argument
--FILE--
<?php
/* Prototype : proto array array_fill(int start_key, int num, mixed val)
@@ -204,20 +204,12 @@
}
-- Iteration 17 --
-array(2) {
- [0]=>
- int(100)
- [1]=>
- int(100)
-}
+Warning: array_fill() expects parameter 1 to be long, string given in %s on
line %d
+NULL
-- Iteration 18 --
-array(2) {
- [0]=>
- int(100)
- [1]=>
- int(100)
-}
+Warning: array_fill() expects parameter 1 to be long, string given in %s on
line %d
+NULL
-- Iteration 19 --
Warning: array_fill() expects parameter 1 to be long, string given in %s on
line %d
@@ -351,20 +343,12 @@
}
-- Iteration 17 --
-array(2) {
- [0]=>
- int(100)
- [1]=>
- int(100)
-}
+Warning: array_fill() expects parameter 1 to be long, Unicode string given in
%s on line %d
+NULL
-- Iteration 18 --
-array(2) {
- [0]=>
- int(100)
- [1]=>
- int(100)
-}
+Warning: array_fill() expects parameter 1 to be long, Unicode string given in
%s on line %d
+NULL
-- Iteration 19 --
Warning: array_fill() expects parameter 1 to be long, Unicode string given in
%s on line %d
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php