[PHP] Bug #51739 tricky string to float conversion

2011-08-31 Thread magic-php
Hi, I have opend Bug #51739 in 2010. It was closed as bogus before my last question was answered. It would be fine to know what you think about that bug. In short: var_dump((float)"8315e839da08e2a7afe6dd12ec58245d"); results in float(INF) This is because "8315" is treated as base and "e8

Re: [PHP] Re: Bug #51739 tricky string to float conversion

2011-09-01 Thread magic-php
Am Mittwoch, 31. August 2011, 20:48:37 schrieb Shawn McKenzie: > On 08/31/2011 09:03 AM, magic-...@damage.devloop.de wrote: > > Hi, > > I have opend Bug #51739 in 2010. It was closed as bogus before my last > > question was answered. It would be fine to know what you think about > > that bug. > > I

Re: [PHP] Bug #51739 tricky string to float conversion

2011-09-01 Thread magic-php
Simon J Welsh writes: On 1/09/2011, at 9:53 AM, magic-...@damage.devloop.de wrote: Am Mittwoch, 31. August 2011, 20:48:37 schrieb Shawn McKenzie: On 08/31/2011 09:03 AM, magic-...@damage.devloop.de wrote: var_dump((float)"8315e839da08e2a7afe6dd12ec58245d"); results in float(INF) The cast t