Skip to content

Commit 09a8044

Browse files
committed
Fix copy/paste mistake from 32bit to 64bit tests in math tests
1 parent ac925c4 commit 09a8044

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

ext/standard/tests/math/decbin_variation1_64bit.phpt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ $inputs = [
1616
1,
1717
12345,
1818
-2345,
19-
4294967295, // largest decimal
20-
4294967296,
19+
18446744073709551615, // largest decimal
20+
18446744073709551616,
2121

2222
// float data
2323
/* 7*/ 12.3456789000e10,
@@ -61,10 +61,10 @@ string(14) "11000000111001"
6161
string(64) "1111111111111111111111111111111111111111111111111111011011010111"
6262

6363
-- Iteration 5 --
64-
string(32) "11111111111111111111111111111111"
64+
decbin(): Argument #1 ($num) must be of type int, float given
6565

6666
-- Iteration 6 --
67-
string(33) "100000000000000000000000000000000"
67+
decbin(): Argument #1 ($num) must be of type int, float given
6868

6969
-- Iteration 7 --
7070
string(37) "1110010111110100110010001101000001000"

ext/standard/tests/math/dechex_variation1_64bit.phpt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ $inputs = [
1616
1,
1717
12345,
1818
-2345,
19-
4294967295, // largest decimal
20-
4294967296,
19+
18446744073709551615, // largest decimal
20+
18446744073709551616,
2121

2222
// float data
2323
/* 7*/ 12.3456789000e10,
@@ -61,10 +61,10 @@ string(4) "3039"
6161
string(16) "fffffffffffff6d7"
6262

6363
-- Iteration 5 --
64-
string(8) "ffffffff"
64+
dechex(): Argument #1 ($num) must be of type int, float given
6565

6666
-- Iteration 6 --
67-
string(9) "100000000"
67+
dechex(): Argument #1 ($num) must be of type int, float given
6868

6969
-- Iteration 7 --
7070
string(10) "1cbe991a08"

ext/standard/tests/math/decoct_variation1_64bit.phpt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ $inputs = [
1616
1,
1717
12345,
1818
-2345,
19-
4294967295, // largest decimal
20-
4294967296,
19+
18446744073709551615, // largest decimal
20+
18446744073709551616,
2121

2222
// float data
2323
/* 7*/ 12.3456789000e10,
@@ -61,10 +61,10 @@ string(5) "30071"
6161
string(22) "1777777777777777773327"
6262

6363
-- Iteration 5 --
64-
string(11) "37777777777"
64+
decoct(): Argument #1 ($num) must be of type int, float given
6565

6666
-- Iteration 6 --
67-
string(11) "40000000000"
67+
decoct(): Argument #1 ($num) must be of type int, float given
6868

6969
-- Iteration 7 --
7070
string(13) "1627646215010"

0 commit comments

Comments
 (0)