Bug #12709: Taking doubles inconistently out of strings.
| From: | tlhf_loves at hotmail dot com | Date: | Sun, 12 Aug 2001 22:55:21 +0000 |
| Subject: | Bug #12709: Taking doubles inconistently out of strings. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-63027@lists.php.net to get a copy of this message | ||
From: tlhf_loves@hotmail.com
Operating system: Windows
PHP version: 4.0.6
PHP Bug Type: Scripting Engine problem
Bug description: Taking doubles inconistently out of strings.
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 bug report at: http://bugs.php.net/?id=12709&edit=1