rasmus          Sat Feb  2 01:31:18 2008 UTC

  Modified files:              (Branch: PHP_5_3)
    /php-src/ext/standard/tests/array   array_filter_error.phpt 
                                        array_filter_variation2.phpt 
                                        array_filter_variation9.phpt 
  Log:
  Fix a few more tests
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/array_filter_error.phpt?r1=1.1.4.3&r2=1.1.4.4&diff_format=u
Index: php-src/ext/standard/tests/array/array_filter_error.phpt
diff -u php-src/ext/standard/tests/array/array_filter_error.phpt:1.1.4.3 
php-src/ext/standard/tests/array/array_filter_error.phpt:1.1.4.4
--- php-src/ext/standard/tests/array/array_filter_error.phpt:1.1.4.3    Fri Nov 
 2 19:41:11 2007
+++ php-src/ext/standard/tests/array/array_filter_error.phpt    Sat Feb  2 
01:31:18 2008
@@ -45,6 +45,6 @@
 Warning: array_filter() expects at most 2 parameters, 3 given in %s on line %d
 NULL
 -- Testing array_filter() function with incorrect callback --
-Warning: array_filter() expects parameter 2 to be valid callback, string given 
in %s on line %d
+Warning: array_filter() expects parameter 2 to be a valid callback, function 
'even' not found or invalid function name in %s on line %d
 NULL
 Done
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/array_filter_variation2.phpt?r1=1.1.4.3&r2=1.1.4.4&diff_format=u
Index: php-src/ext/standard/tests/array/array_filter_variation2.phpt
diff -u php-src/ext/standard/tests/array/array_filter_variation2.phpt:1.1.4.3 
php-src/ext/standard/tests/array/array_filter_variation2.phpt:1.1.4.4
--- php-src/ext/standard/tests/array/array_filter_variation2.phpt:1.1.4.3       
Fri Nov  2 19:41:11 2007
+++ php-src/ext/standard/tests/array/array_filter_variation2.phpt       Sat Feb 
 2 01:31:18 2008
@@ -98,87 +98,87 @@
 --EXPECTF--
 *** Testing array_filter() : usage variations - unexpected values for 
'callback' function***
 -- Iteration 1 --
-Warning: array_filter() expects parameter 2 to be valid callback, integer 
given in %s on line %d
+Warning: array_filter() expects parameter 2 to be a valid callback, no array 
or string given in %s on line %d
 NULL
 -- Iteration 2 --
-Warning: array_filter() expects parameter 2 to be valid callback, integer 
given in %s on line %d
+Warning: array_filter() expects parameter 2 to be a valid callback, no array 
or string given in %s on line %d
 NULL
 -- Iteration 3 --
-Warning: array_filter() expects parameter 2 to be valid callback, integer 
given in %s on line %d
+Warning: array_filter() expects parameter 2 to be a valid callback, no array 
or string given in %s on line %d
 NULL
 -- Iteration 4 --
-Warning: array_filter() expects parameter 2 to be valid callback, integer 
given in %s on line %d
+Warning: array_filter() expects parameter 2 to be a valid callback, no array 
or string given in %s on line %d
 NULL
 -- Iteration 5 --
-Warning: array_filter() expects parameter 2 to be valid callback, double given 
in %s on line %d
+Warning: array_filter() expects parameter 2 to be a valid callback, no array 
or string given in %s on line %d
 NULL
 -- Iteration 6 --
-Warning: array_filter() expects parameter 2 to be valid callback, double given 
in %s on line %d
+Warning: array_filter() expects parameter 2 to be a valid callback, no array 
or string given in %s on line %d
 NULL
 -- Iteration 7 --
-Warning: array_filter() expects parameter 2 to be valid callback, double given 
in %s on line %d
+Warning: array_filter() expects parameter 2 to be a valid callback, no array 
or string given in %s on line %d
 NULL
 -- Iteration 8 --
-Warning: array_filter() expects parameter 2 to be valid callback, double given 
in %s on line %d
+Warning: array_filter() expects parameter 2 to be a valid callback, no array 
or string given in %s on line %d
 NULL
 -- Iteration 9 --
-Warning: array_filter() expects parameter 2 to be valid callback, double given 
in %s on line %d
+Warning: array_filter() expects parameter 2 to be a valid callback, no array 
or string given in %s on line %d
 NULL
 -- Iteration 10 --
-Warning: array_filter() expects parameter 2 to be valid callback, array given 
in %s on line %d
+Warning: array_filter() expects parameter 2 to be a valid callback, array must 
have exactly two members in %s on line %d
 NULL
 -- Iteration 11 --
-Warning: array_filter() expects parameter 2 to be valid callback, array given 
in %s on line %d
+Warning: array_filter() expects parameter 2 to be a valid callback, array must 
have exactly two members in %s on line %d
 NULL
 -- Iteration 12 --
-Warning: array_filter() expects parameter 2 to be valid callback, array given 
in %s on line %d
+Warning: array_filter() expects parameter 2 to be a valid callback, array must 
have exactly two members in %s on line %d
 NULL
 -- Iteration 13 --
-Warning: array_filter() expects parameter 2 to be valid callback, array given 
in %s on line %d
+Warning: array_filter() expects parameter 2 to be a valid callback, second 
array member is not a valid method in %s on line %d
 NULL
 -- Iteration 14 --
-Warning: array_filter() expects parameter 2 to be valid callback, array given 
in %s on line %d
+Warning: array_filter() expects parameter 2 to be a valid callback, first 
array member is not a valid class name or object in %s on line %d
 NULL
 -- Iteration 15 --
-Warning: array_filter() expects parameter 2 to be valid callback, null given 
in %s on line %d
+Warning: array_filter() expects parameter 2 to be a valid callback, no array 
or string given in %s on line %d
 NULL
 -- Iteration 16 --
-Warning: array_filter() expects parameter 2 to be valid callback, null given 
in %s on line %d
+Warning: array_filter() expects parameter 2 to be a valid callback, no array 
or string given in %s on line %d
 NULL
 -- Iteration 17 --
-Warning: array_filter() expects parameter 2 to be valid callback, boolean 
given in %s on line %d
+Warning: array_filter() expects parameter 2 to be a valid callback, no array 
or string given in %s on line %d
 NULL
 -- Iteration 18 --
-Warning: array_filter() expects parameter 2 to be valid callback, boolean 
given in %s on line %d
+Warning: array_filter() expects parameter 2 to be a valid callback, no array 
or string given in %s on line %d
 NULL
 -- Iteration 19 --
-Warning: array_filter() expects parameter 2 to be valid callback, boolean 
given in %s on line %d
+Warning: array_filter() expects parameter 2 to be a valid callback, no array 
or string given in %s on line %d
 NULL
 -- Iteration 20 --
-Warning: array_filter() expects parameter 2 to be valid callback, boolean 
given in %s on line %d
+Warning: array_filter() expects parameter 2 to be a valid callback, no array 
or string given in %s on line %d
 NULL
 -- Iteration 21 --
-Warning: array_filter() expects parameter 2 to be valid callback, string given 
in %s on line %d
+Warning: array_filter() expects parameter 2 to be a valid callback, function 
'' not found or invalid function name in %s on line %d
 NULL
 -- Iteration 22 --
-Warning: array_filter() expects parameter 2 to be valid callback, string given 
in %s on line %d
+Warning: array_filter() expects parameter 2 to be a valid callback, function 
'' not found or invalid function name in %s on line %d
 NULL
 -- Iteration 23 --
-Warning: array_filter() expects parameter 2 to be valid callback, string given 
in %s on line %d
+Warning: array_filter() expects parameter 2 to be a valid callback, function 
'string' not found or invalid function name in %s on line %d
 NULL
 -- Iteration 24 --
-Warning: array_filter() expects parameter 2 to be valid callback, string given 
in %s on line %d
+Warning: array_filter() expects parameter 2 to be a valid callback, function 
'string' not found or invalid function name in %s on line %d
 NULL
 -- Iteration 25 --
-Warning: array_filter() expects parameter 2 to be valid callback, object given 
in %s on line %d
+Warning: array_filter() expects parameter 2 to be a valid callback, no array 
or string given in %s on line %d
 NULL
 -- Iteration 26 --
-Warning: array_filter() expects parameter 2 to be valid callback, resource 
given in %s on line %d
+Warning: array_filter() expects parameter 2 to be a valid callback, no array 
or string given in %s on line %d
 NULL
 -- Iteration 27 --
-Warning: array_filter() expects parameter 2 to be valid callback, null given 
in %s on line %d
+Warning: array_filter() expects parameter 2 to be a valid callback, no array 
or string given in %s on line %d
 NULL
 -- Iteration 28 --
-Warning: array_filter() expects parameter 2 to be valid callback, null given 
in %s on line %d
+Warning: array_filter() expects parameter 2 to be a valid callback, no array 
or string given in %s on line %d
 NULL
 Done
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/array_filter_variation9.phpt?r1=1.1.4.3&r2=1.1.4.4&diff_format=u
Index: php-src/ext/standard/tests/array/array_filter_variation9.phpt
diff -u php-src/ext/standard/tests/array/array_filter_variation9.phpt:1.1.4.3 
php-src/ext/standard/tests/array/array_filter_variation9.phpt:1.1.4.4
--- php-src/ext/standard/tests/array/array_filter_variation9.phpt:1.1.4.3       
Fri Nov  2 19:41:11 2007
+++ php-src/ext/standard/tests/array/array_filter_variation9.phpt       Sat Feb 
 2 01:31:18 2008
@@ -64,9 +64,9 @@
   NULL
 }
 
-Warning: array_filter() expects parameter 2 to be valid callback, string given 
in %s on line %d
+Warning: array_filter() expects parameter 2 to be a valid callback, function 
'echo' not found or invalid function name in %s on line %d
 NULL
 
-Warning: array_filter() expects parameter 2 to be valid callback, string given 
in %s on line %d
+Warning: array_filter() expects parameter 2 to be a valid callback, function 
'exit' not found or invalid function name in %s on line %d
 NULL
 Done

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to