diff options
Diffstat (limited to 'ext/standard/tests/math')
64 files changed, 39 insertions, 82 deletions
diff --git a/ext/standard/tests/math/abs_basic.phpt b/ext/standard/tests/math/abs_basic.phpt index 153aa80fe8..5c3f8ff8ea 100644 --- a/ext/standard/tests/math/abs_basic.phpt +++ b/ext/standard/tests/math/abs_basic.phpt @@ -48,4 +48,4 @@ float(23.45) int(0) int(1) int(0) -===Done===
\ No newline at end of file +===Done=== diff --git a/ext/standard/tests/math/atan2_variation1.phpt b/ext/standard/tests/math/atan2_variation1.phpt index 7f9be489e7..a2bc481ad2 100644 --- a/ext/standard/tests/math/atan2_variation1.phpt +++ b/ext/standard/tests/math/atan2_variation1.phpt @@ -184,4 +184,4 @@ float(0) Warning: atan2() expects parameter 1 to be float, resource given in %s on line %d NULL -===Done===
\ No newline at end of file +===Done=== diff --git a/ext/standard/tests/math/atan2_variation2.phpt b/ext/standard/tests/math/atan2_variation2.phpt index 120ac45eb5..45c0215ea3 100644 --- a/ext/standard/tests/math/atan2_variation2.phpt +++ b/ext/standard/tests/math/atan2_variation2.phpt @@ -183,4 +183,4 @@ float(1.570796327) Warning: atan2() expects parameter 2 to be float, resource given in %s on line %d NULL -===Done===
\ No newline at end of file +===Done=== diff --git a/ext/standard/tests/math/base_convert_basic.phpt b/ext/standard/tests/math/base_convert_basic.phpt index 9591411db3..b5e34dfb8b 100644 --- a/ext/standard/tests/math/base_convert_basic.phpt +++ b/ext/standard/tests/math/base_convert_basic.phpt @@ -28,7 +28,6 @@ for ($f= 0; $f < count($frombase); $f++) { } } ?> - --EXPECT-- ...from base is 2 ......to base is 2 diff --git a/ext/standard/tests/math/base_convert_error.phpt b/ext/standard/tests/math/base_convert_error.phpt index c11a01b03f..f27d0a66cf 100644 --- a/ext/standard/tests/math/base_convert_error.phpt +++ b/ext/standard/tests/math/base_convert_error.phpt @@ -40,4 +40,4 @@ Warning: base_convert(): Invalid `from base' (1) in %s on line %d Warning: base_convert(): Invalid `to base' (37) in %s on line %d Incorrect input -Recoverable fatal error: Object of class classA could not be converted to string in %s on line %d
\ No newline at end of file +Recoverable fatal error: Object of class classA could not be converted to string in %s on line %d diff --git a/ext/standard/tests/math/base_convert_variation2.phpt b/ext/standard/tests/math/base_convert_variation2.phpt index 9051323eec..23e74c621d 100644 --- a/ext/standard/tests/math/base_convert_variation2.phpt +++ b/ext/standard/tests/math/base_convert_variation2.phpt @@ -190,4 +190,4 @@ bool(false) Warning: base_convert(): Invalid `from base' (0) in %s on line %d bool(false) -===Done===
\ No newline at end of file +===Done=== diff --git a/ext/standard/tests/math/base_convert_variation3.phpt b/ext/standard/tests/math/base_convert_variation3.phpt index 220105f2fb..d4b96fb1f2 100644 --- a/ext/standard/tests/math/base_convert_variation3.phpt +++ b/ext/standard/tests/math/base_convert_variation3.phpt @@ -190,4 +190,4 @@ bool(false) Warning: base_convert(): Invalid `to base' (0) in %s on line %d bool(false) -===Done===
\ No newline at end of file +===Done=== diff --git a/ext/standard/tests/math/bindec_error.phpt b/ext/standard/tests/math/bindec_error.phpt index 8bd52332c4..a6b96185c1 100644 --- a/ext/standard/tests/math/bindec_error.phpt +++ b/ext/standard/tests/math/bindec_error.phpt @@ -34,4 +34,4 @@ Warning: bindec() expects exactly 1 parameter, 0 given in %s on line %d Warning: bindec() expects exactly 1 parameter, 2 given in %s on line %d Incorrect input -Recoverable fatal error: Object of class classA could not be converted to string in %s on line %d
\ No newline at end of file +Recoverable fatal error: Object of class classA could not be converted to string in %s on line %d diff --git a/ext/standard/tests/math/bindec_variation1.phpt b/ext/standard/tests/math/bindec_variation1.phpt index 9efadf6e5c..6041af19dc 100644 --- a/ext/standard/tests/math/bindec_variation1.phpt +++ b/ext/standard/tests/math/bindec_variation1.phpt @@ -155,4 +155,4 @@ int(0) -- Iteration 24 -- int(%d) -===Done===
\ No newline at end of file +===Done=== diff --git a/ext/standard/tests/math/bindec_variation1_64bit.phpt b/ext/standard/tests/math/bindec_variation1_64bit.phpt index ab667126da..7fe9db234a 100644 --- a/ext/standard/tests/math/bindec_variation1_64bit.phpt +++ b/ext/standard/tests/math/bindec_variation1_64bit.phpt @@ -155,4 +155,4 @@ int(0) -- Iteration 24 -- int(%d) -===Done===
\ No newline at end of file +===Done=== diff --git a/ext/standard/tests/math/bug30695.phpt b/ext/standard/tests/math/bug30695.phpt index c515784ee2..938b0e7fc8 100644 --- a/ext/standard/tests/math/bug30695.phpt +++ b/ext/standard/tests/math/bug30695.phpt @@ -47,7 +47,6 @@ Bug #30695 (32 bit issues) echo "\n", toUTF8(65), "\n", toUTF8(233), "\n", toUTF8(1252), "\n", toUTF8(20095), "\n"; ?> --EXPECT-- - A é Ӥ diff --git a/ext/standard/tests/math/constants.phpt b/ext/standard/tests/math/constants.phpt index deeb785f44..9492629e33 100644 --- a/ext/standard/tests/math/constants.phpt +++ b/ext/standard/tests/math/constants.phpt @@ -45,4 +45,3 @@ M_EULER : 0.577215[0-9]* M_SQRT2 : 1.414213[0-9]* M_SQRT1_2 : 0.707106[0-9]* M_SQRT3 : 1.732050[0-9]* - diff --git a/ext/standard/tests/math/decbin_basic.phpt b/ext/standard/tests/math/decbin_basic.phpt index 158c05b54a..b067030a48 100644 --- a/ext/standard/tests/math/decbin_basic.phpt +++ b/ext/standard/tests/math/decbin_basic.phpt @@ -22,7 +22,6 @@ for ($i = 0; $i < count($values); $i++) { var_dump($res); } ?> - --EXPECT-- string(4) "1010" string(12) "111101101110" diff --git a/ext/standard/tests/math/decbin_error.phpt b/ext/standard/tests/math/decbin_error.phpt index 38279c41ce..4406c7a40a 100644 --- a/ext/standard/tests/math/decbin_error.phpt +++ b/ext/standard/tests/math/decbin_error.phpt @@ -30,4 +30,3 @@ Warning: expm1() expects exactly 1 parameter, 0 given in %s on line %d Warning: expm1() expects exactly 1 parameter, 2 given in %s on line %d ===Done=== - diff --git a/ext/standard/tests/math/decbin_variation1.phpt b/ext/standard/tests/math/decbin_variation1.phpt index b6341cca76..711f1733a2 100644 --- a/ext/standard/tests/math/decbin_variation1.phpt +++ b/ext/standard/tests/math/decbin_variation1.phpt @@ -176,4 +176,4 @@ string(1) "0" -- Iteration 27 -- string(%d) "%d" -===Done===
\ No newline at end of file +===Done=== diff --git a/ext/standard/tests/math/decbin_variation1_64bit.phpt b/ext/standard/tests/math/decbin_variation1_64bit.phpt index b2209ba301..ccde29472b 100644 --- a/ext/standard/tests/math/decbin_variation1_64bit.phpt +++ b/ext/standard/tests/math/decbin_variation1_64bit.phpt @@ -176,4 +176,4 @@ string(1) "0" -- Iteration 27 -- string(%d) "%d" -===Done===
\ No newline at end of file +===Done=== diff --git a/ext/standard/tests/math/dechex_error.phpt b/ext/standard/tests/math/dechex_error.phpt index 4c3fd6f858..66bdc56ff6 100644 --- a/ext/standard/tests/math/dechex_error.phpt +++ b/ext/standard/tests/math/dechex_error.phpt @@ -23,4 +23,4 @@ Incorrect number of arguments Warning: dechex() expects exactly 1 parameter, 0 given in %s on line %d Warning: dechex() expects exactly 1 parameter, 3 given in %s on line %d -===Done===
\ No newline at end of file +===Done=== diff --git a/ext/standard/tests/math/dechex_variation1.phpt b/ext/standard/tests/math/dechex_variation1.phpt index ee51c134d5..e77ea9922e 100644 --- a/ext/standard/tests/math/dechex_variation1.phpt +++ b/ext/standard/tests/math/dechex_variation1.phpt @@ -176,4 +176,4 @@ string(1) "0" -- Iteration 27 -- string(%d) "%s" -===Done===
\ No newline at end of file +===Done=== diff --git a/ext/standard/tests/math/dechex_variation1_64bit.phpt b/ext/standard/tests/math/dechex_variation1_64bit.phpt index 404e9dfd82..ff88ec8c79 100644 --- a/ext/standard/tests/math/dechex_variation1_64bit.phpt +++ b/ext/standard/tests/math/dechex_variation1_64bit.phpt @@ -176,4 +176,4 @@ string(1) "0" -- Iteration 27 -- string(%d) "%s" -===Done===
\ No newline at end of file +===Done=== diff --git a/ext/standard/tests/math/decoct_variation1_64bit.phpt b/ext/standard/tests/math/decoct_variation1_64bit.phpt index 14a978b2b3..8e76e15c2e 100644 --- a/ext/standard/tests/math/decoct_variation1_64bit.phpt +++ b/ext/standard/tests/math/decoct_variation1_64bit.phpt @@ -177,4 +177,4 @@ string(1) "0" -- Iteration 27 -- string(%d) "%d" -===Done===
\ No newline at end of file +===Done=== diff --git a/ext/standard/tests/math/exp_basic.phpt b/ext/standard/tests/math/exp_basic.phpt index 973f74de0b..6d90c9d8a8 100644 --- a/ext/standard/tests/math/exp_basic.phpt +++ b/ext/standard/tests/math/exp_basic.phpt @@ -28,7 +28,6 @@ foreach($values as $value) { ?> ===Done=== --EXPECT-- - -- Iteration 1 -- float(22026.465794807) diff --git a/ext/standard/tests/math/exp_error.phpt b/ext/standard/tests/math/exp_error.phpt index 21949f4a74..6c8de64ddd 100644 --- a/ext/standard/tests/math/exp_error.phpt +++ b/ext/standard/tests/math/exp_error.phpt @@ -8,7 +8,6 @@ exp(); exp(23,true); ?> --EXPECTF-- - Warning: exp() expects exactly 1 parameter, 0 given in %s on line %d Warning: exp() expects exactly 1 parameter, 2 given in %s on line %d diff --git a/ext/standard/tests/math/expm1_variation1.phpt b/ext/standard/tests/math/expm1_variation1.phpt index de51bc7e75..6d93b6eab6 100644 --- a/ext/standard/tests/math/expm1_variation1.phpt +++ b/ext/standard/tests/math/expm1_variation1.phpt @@ -196,4 +196,4 @@ float(0) Warning: expm1() expects parameter 1 to be float, resource given in %s on line %d NULL -===Done===
\ No newline at end of file +===Done=== diff --git a/ext/standard/tests/math/floor_error.phpt b/ext/standard/tests/math/floor_error.phpt index f33902e6a0..d594feca07 100644 --- a/ext/standard/tests/math/floor_error.phpt +++ b/ext/standard/tests/math/floor_error.phpt @@ -30,4 +30,4 @@ NULL Warning: floor() expects exactly 1 parameter, 0 given in %s on line %d NULL -===Done===
\ No newline at end of file +===Done=== diff --git a/ext/standard/tests/math/fmod_basic.phpt b/ext/standard/tests/math/fmod_basic.phpt index c851a2632c..875ae8dd05 100644 --- a/ext/standard/tests/math/fmod_basic.phpt +++ b/ext/standard/tests/math/fmod_basic.phpt @@ -39,7 +39,6 @@ for ($i = 0; $i < count($values1); $i++) { } ?> --EXPECT-- - iteration 0 float(0) float(0) diff --git a/ext/standard/tests/math/fmod_error.phpt b/ext/standard/tests/math/fmod_error.phpt index 42a6ad1a02..4720ee46d2 100644 --- a/ext/standard/tests/math/fmod_error.phpt +++ b/ext/standard/tests/math/fmod_error.phpt @@ -9,7 +9,6 @@ fmod(23); fmod(23,2,true); ?> --EXPECTF-- - Warning: fmod() expects exactly 2 parameters, 0 given in %s on line 2 Warning: fmod() expects exactly 2 parameters, 1 given in %s on line 3 diff --git a/ext/standard/tests/math/getrandmax_basic.phpt b/ext/standard/tests/math/getrandmax_basic.phpt index 4e52c192d8..067b008f47 100644 --- a/ext/standard/tests/math/getrandmax_basic.phpt +++ b/ext/standard/tests/math/getrandmax_basic.phpt @@ -6,4 +6,4 @@ $biggest_int = getrandmax(); var_dump($biggest_int); ?> --EXPECTF-- -int(%d)
\ No newline at end of file +int(%d) diff --git a/ext/standard/tests/math/hexdec_basic_64bit.phpt b/ext/standard/tests/math/hexdec_basic_64bit.phpt index aec6b76a7b..2168a31038 100644 --- a/ext/standard/tests/math/hexdec_basic_64bit.phpt +++ b/ext/standard/tests/math/hexdec_basic_64bit.phpt @@ -90,4 +90,4 @@ int(0) -- hexdec -- int(0) -===Done===
\ No newline at end of file +===Done=== diff --git a/ext/standard/tests/math/hexdec_error.phpt b/ext/standard/tests/math/hexdec_error.phpt index 7b65e5623a..f65047ffaf 100644 --- a/ext/standard/tests/math/hexdec_error.phpt +++ b/ext/standard/tests/math/hexdec_error.phpt @@ -33,4 +33,4 @@ Warning: hexdec() expects exactly 1 parameter, 2 given in %s on line %d -- Incorrect input -- -Recoverable fatal error: Object of class classA could not be converted to string in %s on line %d
\ No newline at end of file +Recoverable fatal error: Object of class classA could not be converted to string in %s on line %d diff --git a/ext/standard/tests/math/hexdec_variation1.phpt b/ext/standard/tests/math/hexdec_variation1.phpt index 34b2e474d0..00b11d2b3d 100644 --- a/ext/standard/tests/math/hexdec_variation1.phpt +++ b/ext/standard/tests/math/hexdec_variation1.phpt @@ -165,4 +165,4 @@ int(0) -- Iteration 26 -- %s -===Done===
\ No newline at end of file +===Done=== diff --git a/ext/standard/tests/math/hexdec_variation1_64bit.phpt b/ext/standard/tests/math/hexdec_variation1_64bit.phpt index f70a48eeb2..0ce9f6e39a 100644 --- a/ext/standard/tests/math/hexdec_variation1_64bit.phpt +++ b/ext/standard/tests/math/hexdec_variation1_64bit.phpt @@ -165,4 +165,4 @@ int(0) -- Iteration 26 -- %s -===Done===
\ No newline at end of file +===Done=== diff --git a/ext/standard/tests/math/hypot_basic.phpt b/ext/standard/tests/math/hypot_basic.phpt index 107d3e40de..c09dd51da5 100644 --- a/ext/standard/tests/math/hypot_basic.phpt +++ b/ext/standard/tests/math/hypot_basic.phpt @@ -441,4 +441,4 @@ Y: X: float(0) Y: X:1 float(1) Y: X: float(0) -===Done===
\ No newline at end of file +===Done=== diff --git a/ext/standard/tests/math/hypot_error.phpt b/ext/standard/tests/math/hypot_error.phpt index b816cd58a0..ab815de400 100644 --- a/ext/standard/tests/math/hypot_error.phpt +++ b/ext/standard/tests/math/hypot_error.phpt @@ -30,4 +30,4 @@ Warning: hypot() expects exactly 2 parameters, 1 given in %s on line %d -- Testing hypot() function with more than expected no. of arguments -- Warning: hypot() expects exactly 2 parameters, 3 given in %s on line %d -===Done===
\ No newline at end of file +===Done=== diff --git a/ext/standard/tests/math/hypot_variation1.phpt b/ext/standard/tests/math/hypot_variation1.phpt index 762bc58727..0fdfa25375 100644 --- a/ext/standard/tests/math/hypot_variation1.phpt +++ b/ext/standard/tests/math/hypot_variation1.phpt @@ -182,4 +182,4 @@ float(5) Warning: hypot() expects parameter 1 to be float, resource given in %s on line %d NULL -===Done===
\ No newline at end of file +===Done=== diff --git a/ext/standard/tests/math/hypot_variation2.phpt b/ext/standard/tests/math/hypot_variation2.phpt index 989e7d00ae..3b48b23123 100644 --- a/ext/standard/tests/math/hypot_variation2.phpt +++ b/ext/standard/tests/math/hypot_variation2.phpt @@ -182,4 +182,4 @@ float(3) Warning: hypot() expects parameter 2 to be float, resource given in %s on line %d NULL -===Done===
\ No newline at end of file +===Done=== diff --git a/ext/standard/tests/math/intdiv_64bit.phpt b/ext/standard/tests/math/intdiv_64bit.phpt index acc7f4ef98..df8367bdbb 100644 --- a/ext/standard/tests/math/intdiv_64bit.phpt +++ b/ext/standard/tests/math/intdiv_64bit.phpt @@ -12,4 +12,4 @@ if (PHP_INT_SIZE !== 8) { var_dump(intdiv(PHP_INT_MAX, 3)); ?> --EXPECT-- -int(3074457345618258602)
\ No newline at end of file +int(3074457345618258602) diff --git a/ext/standard/tests/math/is_finite_basic.phpt b/ext/standard/tests/math/is_finite_basic.phpt index d0f5080619..11db785ae4 100644 --- a/ext/standard/tests/math/is_finite_basic.phpt +++ b/ext/standard/tests/math/is_finite_basic.phpt @@ -37,5 +37,3 @@ bool(true) bool(true) bool(false) bool(false) - - diff --git a/ext/standard/tests/math/is_finite_error.phpt b/ext/standard/tests/math/is_finite_error.phpt index e26563079e..1c599df4d4 100644 --- a/ext/standard/tests/math/is_finite_error.phpt +++ b/ext/standard/tests/math/is_finite_error.phpt @@ -6,8 +6,6 @@ is_finite(); is_finite(23,2,true); ?> --EXPECTF-- - Warning: is_finite() expects exactly 1 parameter, 0 given in %s on line 2 Warning: is_finite() expects exactly 1 parameter, 3 given in %s on line 3 - diff --git a/ext/standard/tests/math/is_infinite_basic.phpt b/ext/standard/tests/math/is_infinite_basic.phpt index 6df5c66da6..4f90340311 100644 --- a/ext/standard/tests/math/is_infinite_basic.phpt +++ b/ext/standard/tests/math/is_infinite_basic.phpt @@ -37,6 +37,3 @@ bool(false) bool(false) bool(true) bool(false) - - - diff --git a/ext/standard/tests/math/is_infinite_error.phpt b/ext/standard/tests/math/is_infinite_error.phpt index 5d6ad9d42c..217f89f7ec 100644 --- a/ext/standard/tests/math/is_infinite_error.phpt +++ b/ext/standard/tests/math/is_infinite_error.phpt @@ -6,7 +6,6 @@ is_infinite(); is_infinite(23,2,true); ?> --EXPECTF-- - Warning: is_infinite() expects exactly 1 parameter, 0 given in %s on line 2 Warning: is_infinite() expects exactly 1 parameter, 3 given in %s on line 3 diff --git a/ext/standard/tests/math/is_nan_basic.phpt b/ext/standard/tests/math/is_nan_basic.phpt index 3ff65483fe..49d2ce4ccf 100644 --- a/ext/standard/tests/math/is_nan_basic.phpt +++ b/ext/standard/tests/math/is_nan_basic.phpt @@ -24,7 +24,6 @@ for ($i = 0; $i < count($values); $i++) { } ?> - --EXPECT-- bool(false) bool(false) @@ -40,6 +39,3 @@ bool(false) bool(false) bool(false) bool(true) - - - diff --git a/ext/standard/tests/math/is_nan_error.phpt b/ext/standard/tests/math/is_nan_error.phpt index 7749e4e406..4e12d7e816 100644 --- a/ext/standard/tests/math/is_nan_error.phpt +++ b/ext/standard/tests/math/is_nan_error.phpt @@ -6,11 +6,6 @@ is_nan(); is_nan(23,2,true); ?> --EXPECTF-- - Warning: is_nan() expects exactly 1 parameter, 0 given in %s on line 2 Warning: is_nan() expects exactly 1 parameter, 3 given in %s on line 3 - - - - diff --git a/ext/standard/tests/math/lcg_value_basic.phpt b/ext/standard/tests/math/lcg_value_basic.phpt index 16ef44c47d..44304f2475 100644 --- a/ext/standard/tests/math/lcg_value_basic.phpt +++ b/ext/standard/tests/math/lcg_value_basic.phpt @@ -40,7 +40,6 @@ if (is_null($res)) { echo "MATHS test script completed\n"; ?> - --EXPECTF-- MATHS test script started @@ -55,4 +54,3 @@ PASSED Warning: lcg_value() expects exactly 0 parameters, 2 given in %slcg_value_basic.php on line %d PASSED MATHS test script completed - diff --git a/ext/standard/tests/math/log1p_error.phpt b/ext/standard/tests/math/log1p_error.phpt index 09d63be128..230a66af3a 100644 --- a/ext/standard/tests/math/log1p_error.phpt +++ b/ext/standard/tests/math/log1p_error.phpt @@ -26,4 +26,4 @@ Warning: log1p() expects exactly 1 parameter, 0 given in %s on line %d -- Testing log1p() function with more than expected no. of arguments -- Warning: log1p() expects exactly 1 parameter, 2 given in %s on line %d -===Done===
\ No newline at end of file +===Done=== diff --git a/ext/standard/tests/math/log1p_variation1.phpt b/ext/standard/tests/math/log1p_variation1.phpt index b166c302eb..2065fb9fba 100644 --- a/ext/standard/tests/math/log1p_variation1.phpt +++ b/ext/standard/tests/math/log1p_variation1.phpt @@ -188,4 +188,4 @@ float(0) Warning: log1p() expects parameter 1 to be float, resource given in %s on line %d NULL -===Done===
\ No newline at end of file +===Done=== diff --git a/ext/standard/tests/math/log_basic.phpt b/ext/standard/tests/math/log_basic.phpt index 2d0a0b4bbc..de97ee264b 100644 --- a/ext/standard/tests/math/log_basic.phpt +++ b/ext/standard/tests/math/log_basic.phpt @@ -29,7 +29,6 @@ for ($i = 0; $i < count($values); $i++) { var_dump($res); } ?> - --EXPECT-- LOG tests...no base float(3.1354942159291) diff --git a/ext/standard/tests/math/log_variation1.phpt b/ext/standard/tests/math/log_variation1.phpt index 5874f63211..06954d4173 100644 --- a/ext/standard/tests/math/log_variation1.phpt +++ b/ext/standard/tests/math/log_variation1.phpt @@ -181,4 +181,4 @@ float(-INF) Warning: log() expects parameter 1 to be float, resource given in %s on line %d NULL -===Done===
\ No newline at end of file +===Done=== diff --git a/ext/standard/tests/math/log_variation2.phpt b/ext/standard/tests/math/log_variation2.phpt index 4ea191e75c..4e4612fdc0 100644 --- a/ext/standard/tests/math/log_variation2.phpt +++ b/ext/standard/tests/math/log_variation2.phpt @@ -199,4 +199,4 @@ bool(false) Warning: log() expects parameter 2 to be float, resource given in %s on line %d NULL -===Done===
\ No newline at end of file +===Done=== diff --git a/ext/standard/tests/math/mt_getrandmax_basic.phpt b/ext/standard/tests/math/mt_getrandmax_basic.phpt index 29a30d088f..3bc4200f2c 100644 --- a/ext/standard/tests/math/mt_getrandmax_basic.phpt +++ b/ext/standard/tests/math/mt_getrandmax_basic.phpt @@ -5,4 +5,4 @@ Test mt_getrandmax() - basic function test mt_getrandmax() var_dump(mt_getrandmax()); ?> --EXPECTF-- -int(%d)
\ No newline at end of file +int(%d) diff --git a/ext/standard/tests/math/mt_getrandmax_error.phpt b/ext/standard/tests/math/mt_getrandmax_error.phpt index fc6adb82ef..f360d12aec 100644 --- a/ext/standard/tests/math/mt_getrandmax_error.phpt +++ b/ext/standard/tests/math/mt_getrandmax_error.phpt @@ -6,4 +6,4 @@ var_dump(mt_getrandmax(true)); ?> --EXPECTF-- Warning: mt_getrandmax() expects exactly 0 parameters, 1 given in %s on line 2 -NULL
\ No newline at end of file +NULL diff --git a/ext/standard/tests/math/mt_rand_error.phpt b/ext/standard/tests/math/mt_rand_error.phpt index 87f5c3641d..625f3092c5 100644 --- a/ext/standard/tests/math/mt_rand_error.phpt +++ b/ext/standard/tests/math/mt_rand_error.phpt @@ -7,9 +7,7 @@ mt_rand(10,100,false); mt_rand("one", 100); mt_rand(1, "hundered"); ?> - --EXPECTF-- - Warning: mt_rand() expects exactly 2 parameters, 1 given in %s on line 2 Warning: mt_rand() expects exactly 2 parameters, 3 given in %s on line 3 diff --git a/ext/standard/tests/math/mt_srand_basic.phpt b/ext/standard/tests/math/mt_srand_basic.phpt index a3a34ab73b..ec0c24254d 100644 --- a/ext/standard/tests/math/mt_srand_basic.phpt +++ b/ext/standard/tests/math/mt_srand_basic.phpt @@ -21,4 +21,4 @@ NULL NULL NULL NULL -NULL
\ No newline at end of file +NULL diff --git a/ext/standard/tests/math/mt_srand_error.phpt b/ext/standard/tests/math/mt_srand_error.phpt index 0858a99e83..569f3d6f21 100644 --- a/ext/standard/tests/math/mt_srand_error.phpt +++ b/ext/standard/tests/math/mt_srand_error.phpt @@ -15,6 +15,3 @@ NULL Notice: A non well formed numeric value encountered in %s on line 4 NULL - - - diff --git a/ext/standard/tests/math/octdec_basic.phpt b/ext/standard/tests/math/octdec_basic.phpt index 7c72205639..6b23f4e029 100644 --- a/ext/standard/tests/math/octdec_basic.phpt +++ b/ext/standard/tests/math/octdec_basic.phpt @@ -46,4 +46,4 @@ int(102923) int(823384) int(1) int(0) -int(0)
\ No newline at end of file +int(0) diff --git a/ext/standard/tests/math/octdec_error.phpt b/ext/standard/tests/math/octdec_error.phpt index 5d94acc435..61be4fdfe0 100644 --- a/ext/standard/tests/math/octdec_error.phpt +++ b/ext/standard/tests/math/octdec_error.phpt @@ -34,4 +34,4 @@ Warning: octdec() expects exactly 1 parameter, 2 given in %s on line %d -- Incorrect input -- -Recoverable fatal error: Object of class classA could not be converted to string in %s on line %d
\ No newline at end of file +Recoverable fatal error: Object of class classA could not be converted to string in %s on line %d diff --git a/ext/standard/tests/math/pow-operator.phpt b/ext/standard/tests/math/pow-operator.phpt index 620091e313..66c65f4dea 100644 --- a/ext/standard/tests/math/pow-operator.phpt +++ b/ext/standard/tests/math/pow-operator.phpt @@ -16,7 +16,6 @@ TESTS; echo "On failure, please mail result to php-dev@lists.php.net\n"; include(dirname(__FILE__) . '/../../../../tests/quicktester.inc'); - --EXPECT-- On failure, please mail result to php-dev@lists.php.net OK diff --git a/ext/standard/tests/math/pow.phpt b/ext/standard/tests/math/pow.phpt index 26bae7e0cf..896acd7bcf 100644 --- a/ext/standard/tests/math/pow.phpt +++ b/ext/standard/tests/math/pow.phpt @@ -142,7 +142,6 @@ TESTS; echo "On failure, please mail result to php-dev@lists.php.net\n"; include(dirname(__FILE__) . '/../../../../tests/quicktester.inc'); - --EXPECT-- 1,1,0,0 On failure, please mail result to php-dev@lists.php.net diff --git a/ext/standard/tests/math/pow_basic.phpt b/ext/standard/tests/math/pow_basic.phpt index abd4f26d8e..3a719ada08 100644 --- a/ext/standard/tests/math/pow_basic.phpt +++ b/ext/standard/tests/math/pow_basic.phpt @@ -267,4 +267,4 @@ Base = -2147483648 ..... Exponent = 2147483647 Result = -INF ..... Exponent = -2147483648 Result = 0 -===Done===
\ No newline at end of file +===Done=== diff --git a/ext/standard/tests/math/pow_basic2.phpt b/ext/standard/tests/math/pow_basic2.phpt index a1cb124767..8dfb487639 100644 --- a/ext/standard/tests/math/pow_basic2.phpt +++ b/ext/standard/tests/math/pow_basic2.phpt @@ -28,7 +28,6 @@ var_dump(pow(-0.24, -$large_exp+1)); ?> ===Done=== --EXPECTF-- - -- The following all result in INF -- float(INF) float(INF) @@ -49,4 +48,4 @@ float(%s) -- The following all result in -INF -- float(-INF) float(-INF) -===Done===
\ No newline at end of file +===Done=== diff --git a/ext/standard/tests/math/pow_error.phpt b/ext/standard/tests/math/pow_error.phpt index d00173eb48..5c473b6eba 100644 --- a/ext/standard/tests/math/pow_error.phpt +++ b/ext/standard/tests/math/pow_error.phpt @@ -9,11 +9,8 @@ pow(36); pow(36,4,true); ?> --EXPECTF-- - Warning: pow() expects exactly 2 parameters, 0 given in %s line 2 Warning: pow() expects exactly 2 parameters, 1 given in %s line 3 Warning: pow() expects exactly 2 parameters, 3 given in %s line 4 - - diff --git a/ext/standard/tests/math/rand_basic.phpt b/ext/standard/tests/math/rand_basic.phpt index f59a7823b4..fbaab3c9af 100644 --- a/ext/standard/tests/math/rand_basic.phpt +++ b/ext/standard/tests/math/rand_basic.phpt @@ -80,7 +80,6 @@ for ($x = 0; $x < count($min); $x++) { } ?> --EXPECTF-- - rand() tests with default min and max value (i.e 0 thru %i) PASSED: range min = 0 max = %i diff --git a/ext/standard/tests/math/rand_error.phpt b/ext/standard/tests/math/rand_error.phpt index 876f79b029..83de20ac20 100644 --- a/ext/standard/tests/math/rand_error.phpt +++ b/ext/standard/tests/math/rand_error.phpt @@ -8,7 +8,6 @@ rand("one", 100); rand(1, "hundered"); ?> --EXPECTF-- - Warning: rand() expects exactly 2 parameters, 1 given in %s on line 2 Warning: rand() expects exactly 2 parameters, 3 given in %s on line 3 diff --git a/ext/standard/tests/math/round_variation2.phpt b/ext/standard/tests/math/round_variation2.phpt index 1bb5ec06cc..e0358da735 100644 --- a/ext/standard/tests/math/round_variation2.phpt +++ b/ext/standard/tests/math/round_variation2.phpt @@ -184,4 +184,4 @@ float(123) Warning: round() expects parameter 2 to be int, resource given in %s on line %d NULL -===Done===
\ No newline at end of file +===Done=== diff --git a/ext/standard/tests/math/tan_basiclong_64bit.phpt b/ext/standard/tests/math/tan_basiclong_64bit.phpt index bdc97b0732..b62f09a69e 100644 --- a/ext/standard/tests/math/tan_basiclong_64bit.phpt +++ b/ext/standard/tests/math/tan_basiclong_64bit.phpt @@ -60,4 +60,3 @@ float(-84.739) --- testing: -9.2234E+18 --- float(-84.739) ===DONE=== - |