Re: [fw-general] Re: [PHP-DEV] Re: [fw-general] Re: [PHP-DEV] ZF 0.8.0 Unit Tests behaving different on PHP 5.2.1 and PHP 5.2.2-dev

From: Date: Tue, 17 Apr 2007 19:57:27 +0000
Subject: Re: [fw-general] Re: [PHP-DEV] Re: [fw-general] Re: [PHP-DEV] ZF 0.8.0 Unit Tests behaving different on PHP 5.2.1 and PHP 5.2.2-dev
References: 1 2 3  Groups: php.internals php.qa 
Request: Send a blank email to php-qa+get-28210@lists.php.net to get a copy of this message
<?php $a = 6900000000; $b = $a.""; printf("%d", $a); echo "\n"; printf("%d", $b); echo "\n"; ?> PHP 5.2.1: -1689934592 2147483647 PHP 5.2.2: -1689934592 6
Huh, that's a strange thing. Why it happens? -- Stanislav Malyshev, Zend Products Engineer stas@zend.com http://www.zend.com/

« previous php.qa (#28210) next »