Has anyone come across this before?
// compare 5 to the max value of an integer
if (5 -2147483647) {
print This is;
}
// knock a digit off the max and compare again
if (5 -214748364) {
print weird;
}
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
: scott [gts] [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 13, 2001 12:08 PM
To: php
Subject: [PHP] peculiar behaviour of large integers with and
Has anyone come across this before?
// compare 5 to the max value of an integer
if (5 -2147483647) {
print This is;
}
// knock
This is not.;
}
-Original Message-
From: Johnson, Kirk [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 13, 2001 2:23 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] peculiar behaviour of large integers with and
?
// compare 5 to the max value of an integer
if (5 -2147483647) {
print
I am running 4.0.6. Nothing prints to the screen using a cut and paste of
the code below.
-Original Message-
From: scott [gts] [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 13, 2001 12:25 PM
To: php
Subject: RE: [PHP] peculiar behaviour of large integers with
and
after
I'll bet it did! Sorry, nothing unusual here, good luck.
-Original Message-
From: scott [gts] [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 13, 2001 12:50 PM
To: php
Subject: RE: [PHP] peculiar behaviour of large integers with
and
i guess you've got a more recent version
5 matches
Mail list logo