summaryrefslogtreecommitdiff
path: root/ext/standard/tests/array/count_recursive.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/array/count_recursive.phpt')
-rw-r--r--ext/standard/tests/array/count_recursive.phpt26
1 files changed, 0 insertions, 26 deletions
diff --git a/ext/standard/tests/array/count_recursive.phpt b/ext/standard/tests/array/count_recursive.phpt
index 6d81c16621..1fd2e8e6ca 100644
--- a/ext/standard/tests/array/count_recursive.phpt
+++ b/ext/standard/tests/array/count_recursive.phpt
@@ -111,16 +111,6 @@ for( $i =0; $i < count( $mode_arr ); $i++) {
var_dump(count($arr, $mode_arr[$i]));
}
-
-echo "\n-- Testing error conditions --";
-var_dump( count() ); // No. of args = 0
-var_dump( count(array(), COUNT_NORMAL, 100) ); // No. of args > expected
-
-/* Testing Invalid type arguments */
-var_dump( count("string", "ABCD") );
-var_dump( count(100, "string") );
-var_dump( count(array(), "") );
-
echo "\nDone";
/* closing the resource handles */
@@ -230,20 +220,4 @@ For mode '1' count is => int(9)
For mode '' count is => int(3)
For mode '' count is => int(3)
--- Testing error conditions --
-Warning: count() expects at least 1 parameter, 0 given in %s on line %d
-NULL
-
-Warning: count() expects at most 2 parameters, 3 given in %s on line %d
-NULL
-
-Warning: count() expects parameter 2 to be int, %s given in %s on line %d
-NULL
-
-Warning: count() expects parameter 2 to be int, %s given in %s on line %d
-NULL
-
-Warning: count() expects parameter 2 to be int, %s given in %s on line %d
-NULL
-
Done