summaryrefslogtreecommitdiff
path: root/ext/standard/tests/math/floor_variation1.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/math/floor_variation1.phpt')
-rw-r--r--ext/standard/tests/math/floor_variation1.phpt10
1 files changed, 9 insertions, 1 deletions
diff --git a/ext/standard/tests/math/floor_variation1.phpt b/ext/standard/tests/math/floor_variation1.phpt
index 0b5f09f27d..c9ec5e710c 100644
--- a/ext/standard/tests/math/floor_variation1.phpt
+++ b/ext/standard/tests/math/floor_variation1.phpt
@@ -71,13 +71,17 @@ foreach($inputs as $input) {
};
fclose($fp);
?>
---EXPECT--
+--EXPECTF--
*** Testing floor() : usage variations ***
-- Iteration 1 --
+
+Deprecated: floor(): Passing null to parameter #1 ($num) of type int|float is deprecated in %s on line %d
float(0)
-- Iteration 2 --
+
+Deprecated: floor(): Passing null to parameter #1 ($num) of type int|float is deprecated in %s on line %d
float(0)
-- Iteration 3 --
@@ -114,9 +118,13 @@ floor(): Argument #1 ($num) must be of type int|float, string given
floor(): Argument #1 ($num) must be of type int|float, classA given
-- Iteration 14 --
+
+Deprecated: floor(): Passing null to parameter #1 ($num) of type int|float is deprecated in %s on line %d
float(0)
-- Iteration 15 --
+
+Deprecated: floor(): Passing null to parameter #1 ($num) of type int|float is deprecated in %s on line %d
float(0)
-- Iteration 16 --