From ba7bc0ace477f35d645c40adcb2d6d10d321872d Mon Sep 17 00:00:00 2001 From: Ant Phillips Date: Tue, 2 Dec 2008 13:29:17 +0000 Subject: Array tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 bit). --- .../tests/array/array_uintersect_error.phpt | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 ext/standard/tests/array/array_uintersect_error.phpt (limited to 'ext/standard/tests/array/array_uintersect_error.phpt') diff --git a/ext/standard/tests/array/array_uintersect_error.phpt b/ext/standard/tests/array/array_uintersect_error.phpt new file mode 100644 index 0000000000..1b25db4345 --- /dev/null +++ b/ext/standard/tests/array/array_uintersect_error.phpt @@ -0,0 +1,45 @@ +--TEST-- +Test array_uintersect() function : error conditions +--FILE-- + +===DONE=== +--EXPECTF-- +*** Testing array_uintersect() : error conditions *** + +-- Testing array_uintersect() function with more than expected no. of arguments -- + +Warning: array_uintersect() expects parameter 4 to be a valid callback, no array or string given in %sarray_uintersect_error.php on line %d +NULL + +-- Testing array_uintersect() function with less than expected no. of arguments -- + +Warning: array_uintersect(): at least 3 parameters are required, 2 given in %sarray_uintersect_error.php on line %d +NULL +===DONE=== -- cgit v1.2.1