From:             [EMAIL PROTECTED]
Operating system: FreeBSD 4.1.1-STABLE
PHP version:      4.0.6
PHP Bug Type:     Variables related
Bug description:  Large numbers not behaving as doubles

$testnumber = 5000000000;
echo $testnumber;

The result is 2147483647.  The variable is of type integer, even though it
was initialized with a double value.  I first noticed this with PHP 4.05
and it still occurs with 4.05.  I do not believe it behaved this way back
when I had 4.03PL1 installed.

My configure line is:
 './configure' '--with-gd=no' '--with-mysql=/usr/local'
'--with-config-file-path=/usr/home/priraise/phpini' '--enable-debug=no'
'--enable-track-vars=yes' '--enable-ftp=yes'
'--enable-force-cgi-redirect=yes' '--with-openssl' '--enable-trans-sid'
'--enable-xml'
-- 
Edit bug report at: http://bugs.php.net/?id=12243&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to