Skip to content

Commit aebbf38

Browse files
committed
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1: Refix the tests once more
2 parents 6fc405e + 83626ef commit aebbf38

File tree

2 files changed

+5
-10
lines changed

2 files changed

+5
-10
lines changed

ext/bcmath/tests/bug72093-win32.phpt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,11 @@ if(!extension_loaded("bcmath")) print "skip";
66
if (substr(PHP_OS, 0, 3) != 'WIN') {
77
die('skip valid only for windows');
88
}
9-
109
$cur = PHP_WINDOWS_VERSION_MAJOR.'.'.PHP_WINDOWS_VERSION_MINOR.'.'.PHP_WINDOWS_VERSION_BUILD;
1110
$req = "10.0.17134";
1211
if (version_compare($cur, $req) >= 0) {
1312
echo "skip Only for Windows systems < $req";
1413
}
15-
1614
?>
1715
--FILE--
1816
<?php
@@ -21,5 +19,4 @@ var_dump(bcpowmod(1, 1.2, 1, 1));
2119
?>
2220
--EXPECTF--
2321
string(1) "1"
24-
string(3) "0.0"
25-
bc math warning: non-zero scale in exponent
22+
%Astring(3) "0.0"%A

ext/bcmath/tests/bug75178-win32.phpt

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@ var_dump(bcpowmod('4.1', '4', '3', 3));
1818
var_dump(bcpowmod('4', '4', '3.1', 3));
1919
?>
2020
===DONE===
21-
--EXPECT--
22-
string(5) "1.000"
23-
string(5) "1.000"
24-
===DONE===
25-
bc math warning: non-zero scale in base
26-
bc math warning: non-zero scale in modulus
21+
--EXPECTF--
22+
%Astring(5) "1.000"
23+
%Astring(5) "1.000"
24+
===DONE===%A

0 commit comments

Comments
 (0)