On Wed, Mar 26, 2008 at 12:27 PM, Christian Schneider
<[EMAIL PROTECTED]> wrote:
> 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?
I don't see why it has been bogufied. It should be either fixed (as
you described) or the documentation has to be updated (move the bug to
the doc category).
Which # is it?
--
Pierre
http://blog.thepimp.net | http://www.libgd.org
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php