From: Dmitry Stogov Date: Mon, 18 Feb 2008 09:02:16 +0000 (+0000) Subject: Fixed test X-Git-Tag: php-5.2.6RC1~54 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=63fbdfb3e10208862d56f45e43cee51d7826af10;p=php Fixed test --- 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