#27924 [Opn->Bgs]: CAST PROBLEM
| From: | sniper@php.net | Date: | Thu, 08 Apr 2004 23:37:24 +0000 |
| Subject: | #27924 [Opn->Bgs]: CAST PROBLEM | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-57818@lists.php.net to get a copy of this message | ||
ID: 27924
Updated by: sniper@php.net
Reported By: roberto at spadim dot com dot br
-Status: Open
+Status: Bogus
-Bug Type: *Programming Data Structures
+Bug Type: Zend Engine 2 problem
Operating System: linux 2.4.22
PHP Version: 5.0.0RC1
New Comment:
Works fine here. (and you gave way too little information about your
system for us to process this bug report further)
Previous Comments:
------------------------------------------------------------------------
[2004-04-08 19:35:39] roberto at spadim dot com dot br
Description:
------------
casting to double make variable with error... like:
$a="0";
$b=(double)($a);
echo "".$b;
// this give me
// -0
Reproduce code:
---------------
<?
$a="0";
$b=(double)($a);
echo "".$b;
?>
Expected result:
----------------
0
Actual result:
--------------
-0
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=27924&edit=1