ID: 44533 Updated by: [EMAIL PROTECTED] Reported By: cschneid at cschneid dot com -Status: Open +Status: Closed Bug Type: *Math Functions PHP Version: 6CVS-2008-03-25 (CVS) New Comment:
This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. 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