ID: 44533 Updated by: [EMAIL PROTECTED] Reported By: cschneid at cschneid dot com -Status: Open +Status: Bogus -Bug Type: Unknown/Other Function +Bug Type: *Math Functions PHP Version: 6CVS-2008-03-25 (CVS) New Comment:
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php Previous Comments: ------------------------------------------------------------------------ [2008-03-25 18:41:12] cschneid at cschneid dot com Description: ------------ floatval("4foo"); issues E_NOTICE "non well formed numeric value" Reproduce code: --------------- php -d error_reporting=65535 -r 'var_dump(floatval("4foo"));' Expected result: ---------------- float(4) Actual result: -------------- Notice: A non well formed numeric value encountered in Command line code on line 1 float(4) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=44533&edit=1