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.phpt4
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/standard/tests/array/count_recursive.phpt b/ext/standard/tests/array/count_recursive.phpt
index 175cfe7118..6d81c16621 100644
--- a/ext/standard/tests/array/count_recursive.phpt
+++ b/ext/standard/tests/array/count_recursive.phpt
@@ -117,7 +117,7 @@ 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("string", "ABCD") );
var_dump( count(100, "string") );
var_dump( count(array(), "") );
@@ -237,8 +237,6 @@ NULL
Warning: count() expects at most 2 parameters, 3 given in %s on line %d
NULL
-Warning: Use of undefined constant ABCD - assumed 'ABCD' (this will throw an Error in a future version of PHP) in %s on line %d
-
Warning: count() expects parameter 2 to be int, %s given in %s on line %d
NULL