From 63fbdfb3e10208862d56f45e43cee51d7826af10 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Mon, 18 Feb 2008 09:02:16 +0000 Subject: [PATCH] Fixed test --- ext/standard/tests/array/count_variation3.phpt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ext/standard/tests/array/count_variation3.phpt b/ext/standard/tests/array/count_variation3.phpt index 2d79bb9ceb..7ec5667d3d 100644 --- a/ext/standard/tests/array/count_variation3.phpt +++ b/ext/standard/tests/array/count_variation3.phpt @@ -24,6 +24,8 @@ var_dump(count ($array1)); echo "\n-- \$mode = 1: --\n"; var_dump(count ($array1, 1)); +$array1[3] = null; + echo "Done"; ?> --EXPECTF-- @@ -32,4 +34,8 @@ echo "Done"; -- $mode not set: -- int(4) --- $mode = 1: -- \ No newline at end of file +-- $mode = 1: -- + +Warning: count(): recursion detected in %s on line %d +int(12) +Done -- 2.50.1