nicholsr Fri Feb 22 12:14:58 2008 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/standard/tests/array array_diff_assoc_error.phpt Log: - bug #44212 array_diff_assoc_error.phpt should expect warnings for missing parameters http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/array_diff_assoc_error.phpt?r1=1.1.2.2&r2=1.1.2.3&diff_format=u Index: php-src/ext/standard/tests/array/array_diff_assoc_error.phpt diff -u php-src/ext/standard/tests/array/array_diff_assoc_error.phpt:1.1.2.2 php-src/ext/standard/tests/array/array_diff_assoc_error.phpt:1.1.2.3 --- php-src/ext/standard/tests/array/array_diff_assoc_error.phpt:1.1.2.2 Fri Jan 4 14:01:45 2008 +++ php-src/ext/standard/tests/array/array_diff_assoc_error.phpt Fri Feb 22 12:14:58 2008 @@ -15,7 +15,7 @@ echo "*** Testing array_diff_assoc() : error conditions ***\n"; // Zero arguments -echo "\n-- Testing array_diff() function with zero arguments --\n"; +echo "\n-- Testing array_diff_assoc() function with zero arguments --\n"; var_dump( array_diff_assoc() ); // Testing array_diff_assoc with one less than the expected number of arguments @@ -29,9 +29,13 @@ --EXPECTF-- *** Testing array_diff_assoc() : error conditions *** --- Testing array_diff() function with zero arguments -- +-- Testing array_diff_assoc() function with zero arguments -- + +Warning: array_diff_assoc(): at least 2 parameters are required, 0 given in %s on line %d NULL -- Testing array_diff_assoc() function with less than expected no. of arguments -- + +Warning: array_diff_assoc(): at least 2 parameters are required, 1 given in %s on line %d NULL Done \ No newline at end of file
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php