summaryrefslogtreecommitdiff
path: root/ext/standard/tests/math/round_variation1.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/math/round_variation1.phpt')
-rw-r--r--ext/standard/tests/math/round_variation1.phpt10
1 files changed, 9 insertions, 1 deletions
diff --git a/ext/standard/tests/math/round_variation1.phpt b/ext/standard/tests/math/round_variation1.phpt
index b6ce56dd4a..2a2adf27ca 100644
--- a/ext/standard/tests/math/round_variation1.phpt
+++ b/ext/standard/tests/math/round_variation1.phpt
@@ -85,7 +85,7 @@ foreach($inputs as $input) {
};
fclose($fp);
?>
---EXPECT--
+--EXPECTF--
*** Testing round() : usage variations ***
-- Iteration 1 --
@@ -119,9 +119,13 @@ float(1.23457E-9)
float(0.5)
-- Iteration 11 --
+
+Deprecated: round(): Passing null to parameter #1 ($num) of type int|float is deprecated in %s on line %d
float(0)
-- Iteration 12 --
+
+Deprecated: round(): Passing null to parameter #1 ($num) of type int|float is deprecated in %s on line %d
float(0)
-- Iteration 13 --
@@ -158,9 +162,13 @@ round(): Argument #1 ($num) must be of type int|float, string given
round(): Argument #1 ($num) must be of type int|float, classA given
-- Iteration 24 --
+
+Deprecated: round(): Passing null to parameter #1 ($num) of type int|float is deprecated in %s on line %d
float(0)
-- Iteration 25 --
+
+Deprecated: round(): Passing null to parameter #1 ($num) of type int|float is deprecated in %s on line %d
float(0)
-- Iteration 26 --