summaryrefslogtreecommitdiff
path: root/ext/standard/tests/strings/money_format_error.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/strings/money_format_error.phpt')
-rw-r--r--ext/standard/tests/strings/money_format_error.phpt24
1 files changed, 0 insertions, 24 deletions
diff --git a/ext/standard/tests/strings/money_format_error.phpt b/ext/standard/tests/strings/money_format_error.phpt
index 454b593537..8a4366f1bb 100644
--- a/ext/standard/tests/strings/money_format_error.phpt
+++ b/ext/standard/tests/strings/money_format_error.phpt
@@ -23,15 +23,6 @@ $extra_arg = 10;
echo "*** Testing money_format() : error conditions ***\n";
-echo "\n-- Testing money_format() function with no arguments --\n";
-var_dump( money_format() );
-
-echo "\n-- Testing money_format() function with insufficient arguments --\n";
-var_dump( money_format($string) );
-
-echo "\n-- Testing money_format() function with more than expected no. of arguments --\n";
-var_dump( money_format($string, $value, $extra_arg) );
-
echo "\n-- Testing money_format() function with more than one token --\n";
var_dump( money_format($string . $string, $value) );
?>
@@ -39,21 +30,6 @@ var_dump( money_format($string . $string, $value) );
--EXPECTF--
*** Testing money_format() : error conditions ***
--- Testing money_format() function with no arguments --
-
-Warning: money_format() expects exactly 2 parameters, 0 given in %s on line %d
-NULL
-
--- Testing money_format() function with insufficient arguments --
-
-Warning: money_format() expects exactly 2 parameters, 1 given in %s on line %d
-NULL
-
--- Testing money_format() function with more than expected no. of arguments --
-
-Warning: money_format() expects exactly 2 parameters, 3 given in %s on line %d
-NULL
-
-- Testing money_format() function with more than one token --
Warning: money_format(): Only a single %ci or %cn token can be used in %s on line %d