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 --- .../tests/array/array_map_variation16.phpt | 73 ++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 ext/standard/tests/array/array_map_variation16.phpt (limited to 'ext/standard/tests/array/array_map_variation16.phpt') diff --git a/ext/standard/tests/array/array_map_variation16.phpt b/ext/standard/tests/array/array_map_variation16.phpt new file mode 100644 index 000000000..e6972972d --- /dev/null +++ b/ext/standard/tests/array/array_map_variation16.phpt @@ -0,0 +1,73 @@ +--TEST-- +Test array_map() function : usage variations - failing built-in functions & language constructs +--FILE-- + +--EXPECTF-- +*** Testing array_map() : non-permmited built-in functions *** +-- Iteration 1 -- + +Warning: array_map(): The first argument, 'echo', should be either NULL or a valid callback in %s on line %d +NULL +-- Iteration 2 -- + +Warning: array_map(): The first argument, 'array', should be either NULL or a valid callback in %s on line %d +NULL +-- Iteration 3 -- + +Warning: array_map(): The first argument, 'empty', should be either NULL or a valid callback in %s on line %d +NULL +-- Iteration 4 -- + +Warning: array_map(): The first argument, 'eval', should be either NULL or a valid callback in %s on line %d +NULL +-- Iteration 5 -- + +Warning: array_map(): The first argument, 'exit', should be either NULL or a valid callback in %s on line %d +NULL +-- Iteration 6 -- + +Warning: array_map(): The first argument, 'isset', should be either NULL or a valid callback in %s on line %d +NULL +-- Iteration 7 -- + +Warning: array_map(): The first argument, 'list', should be either NULL or a valid callback in %s on line %d +NULL +-- Iteration 8 -- + +Warning: array_map(): The first argument, 'print', should be either NULL or a valid callback in %s on line %d +NULL +Done -- cgit v1.2.3