ID: 27924 Updated by: [EMAIL PROTECTED] 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