mirror of
https://github.com/php/php-src.git
synced 2025-01-08 20:17:28 +08:00
Fixed tests on 64bit machines
This commit is contained in:
parent
c955f26ab9
commit
75bbdac25d
@ -21,12 +21,12 @@ var_dump(max(0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14, 15, 16, 17, 1
|
||||
|
||||
echo "\nDone\n";
|
||||
?>
|
||||
--EXPECT--
|
||||
--EXPECTF--
|
||||
|
||||
*** Testing boundary conditions ***
|
||||
int(2147483646)
|
||||
float(2147483648)
|
||||
float(2147483648)
|
||||
%s(2147483648)
|
||||
%s(2147483648)
|
||||
int(-2147483646)
|
||||
int(-2147483647)
|
||||
int(-2147483647)
|
||||
|
@ -28,7 +28,7 @@ var_dump(max(array(-2147483649, -2147483647)));
|
||||
echo "\nDone\n";
|
||||
|
||||
?>
|
||||
--EXPECT--
|
||||
--EXPECTF--
|
||||
|
||||
*** Testing arrays ***
|
||||
int(2)
|
||||
@ -46,8 +46,8 @@ array(2) {
|
||||
int(3)
|
||||
}
|
||||
int(2147483646)
|
||||
float(2147483648)
|
||||
float(2147483648)
|
||||
%s(2147483648)
|
||||
%s(2147483648)
|
||||
int(-2147483646)
|
||||
int(-2147483647)
|
||||
int(-2147483647)
|
||||
|
Loading…
Reference in New Issue
Block a user