From 993e1866df547532a05ab6db76c9ff5aefc9a3df Mon Sep 17 00:00:00 2001 From: "Mark A. Hershberger" Date: Wed, 25 Mar 2009 00:39:08 -0400 Subject: Imported Upstream version 5.2.6 --- ext/standard/tests/array/array_shift_error.phpt | 40 +++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 ext/standard/tests/array/array_shift_error.phpt (limited to 'ext/standard/tests/array/array_shift_error.phpt') diff --git a/ext/standard/tests/array/array_shift_error.phpt b/ext/standard/tests/array/array_shift_error.phpt new file mode 100644 index 000000000..bbf62de5b --- /dev/null +++ b/ext/standard/tests/array/array_shift_error.phpt @@ -0,0 +1,40 @@ +--TEST-- +Test array_shift() function : error conditions - Pass incorrect number of args +--FILE-- + +--EXPECTF-- +*** Testing array_shift() : error conditions *** + +-- Testing array_shift() function with Zero arguments -- + +Warning: Wrong parameter count for array_shift() in %s on line %d +NULL + +-- Testing array_shift() function with more than expected no. of arguments -- + +Warning: Wrong parameter count for array_shift() in %s on line %d +NULL +Done \ No newline at end of file -- cgit v1.2.3