Bug #12709 Updated: Taking doubles inconistently out of strings.

From: Date: Tue, 18 Jun 2002 22:45:01 +0000
Subject: Bug #12709 Updated: Taking doubles inconistently out of strings.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-11243@lists.php.net to get a copy of this message
ID: 12709 Updated by: sniper@php.net Reported By: tlhf_loves@hotmail.com -Status: Duplicate +Status: Closed Bug Type: Scripting Engine problem Operating System: Windows PHP Version: 4.0.6 New Comment: Thank you for your bug report. This issue has already been fixed in the latest released version of PHP, which you can download at http://www.php.net/downloads.php Previous Comments: ------------------------------------------------------------------------ [2001-08-12 19:06:59] jeroen@php.net Duplicate of bug#10437 ------------------------------------------------------------------------ [2001-08-12 18:55:21] tlhf_loves@hotmail.com Try these to pieces of code: $foo = 1.4 + "10.3 "; $foo = 1.4 + "10.3"; In the first one $foo is equal to 11.4, but in the latter it's equal too 11.7. Surly this isn't wanted. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=12709&edit=1

« previous php.bugs (#11243) next »