Pierre Joye wrote: > On Tue, Mar 4, 2008 at 3:17 PM, Christian Schneider > <[EMAIL PROTECTED]> wrote: >> playing around with PHP 6 I noticed the following BC issue: >> floatval("4.2foo") gives an E_NOTICE "A non well formed numeric value >> encountered". The type casting (float)"4.2foo" still works as before. > >> Or would the proper procedure for me be to open a ticket in the bug tracker? > > It would help to do not forget this problem yes :)
I opened a bug report yesterday as you recommended and it was marked bogus. As I never got another answer apart from yours here I wonder if this BC break is thus intentional and what the motivation behind it is. Do we have to change all floatval() to (float) to be safe from suprises from PHP 6? - Chris -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php