From: Joe Orton Date: Tue, 31 Aug 2004 12:13:41 +0000 (+0000) Subject: MFH: Do not rely on handling of integers which might be outside the X-Git-Tag: php-4.3.9RC2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4265c3d6f4379cc8be85c2dd0b02ed14813f4fc0;p=php MFH: Do not rely on handling of integers which might be outside the range of a 32-bit signed long. --- diff --git a/tests/lang/bug27354.phpt b/tests/lang/bug27354.phpt index bcf68d4265..e10ad9c924 100644 --- a/tests/lang/bug27354.phpt +++ b/tests/lang/bug27354.phpt @@ -7,8 +7,8 @@ Bug #27354 (Modulus operator crashes PHP) var_dump(-2147483648 % -1); var_dump(-2147483648 % -2); ?> ---EXPECT-- -int(0) -int(0) -int(0) -int(0) +--EXPECTF-- +int(%i) +int(%i) +int(%i) +int(%i)