From c5ec48e858800afd14d59e2b32dc94a3e29cc5c3 Mon Sep 17 00:00:00 2001 From: Olivier Hill Date: Wed, 25 Jun 2008 12:16:17 +0000 Subject: New parameter parsing API --- ext/standard/tests/strings/substr_count_error.phpt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ext/standard/tests/strings/substr_count_error.phpt') diff --git a/ext/standard/tests/strings/substr_count_error.phpt b/ext/standard/tests/strings/substr_count_error.phpt index f8284c3a1d..6f7e7728b1 100644 --- a/ext/standard/tests/strings/substr_count_error.phpt +++ b/ext/standard/tests/strings/substr_count_error.phpt @@ -30,12 +30,12 @@ echo "Done\n"; --EXPECTF-- *** Testing error conditions *** -Warning: Wrong parameter count for substr_count() in %s on line %d +Warning: substr_count() expects at least 2 parameters, 0 given in %s on line %d NULL Notice: Undefined variable: str in %s on line %d -Warning: Wrong parameter count for substr_count() in %s on line %d +Warning: substr_count() expects at most 4 parameters, 5 given in %s on line %d NULL Notice: Undefined variable: str in %s on line %d @@ -55,8 +55,8 @@ bool(false) Notice: Undefined variable: str in %s on line %d -Warning: substr_count(): Length should be greater than 0 in %s on line %d -bool(false) +Warning: substr_count() expects parameter 3 to be long, string given in %s on line %d +NULL Notice: Undefined variable: str in %s on line %d -- cgit v1.2.1