From: Joe Orton Date: Tue, 31 Aug 2004 12:11:06 +0000 (+0000) Subject: MFH: Do not rely on handling of integers which might be outside the X-Git-Tag: php-5.0.2RC1~54 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=98c0dd41478b683dc3e9ff457a32a83d22e09233;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)