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

From: Date: Sun, 12 Aug 2001 23:06:59 +0000
Subject: Bug #12709 Updated: Taking doubles inconistently out of strings.
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-63030@lists.php.net to get a copy of this message
ID: 12709 Updated by: jeroen Reported By: tlhf_loves@hotmail.com Old Status: Open Status: Duplicate Bug Type: Scripting Engine problem Operating System: Windows PHP Version: 4.0.6 New Comment: Duplicate of bug#10437 Previous Comments: ------------------------------------------------------------------------ [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.dev (#63030) next »