Re: Bug #51739 tricky string to float conversion

From: Date: Wed, 31 Aug 2011 23:58:05 +0000
Subject: Re: Bug #51739 tricky string to float conversion
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-314685@lists.php.net to get a copy of this message
On 08/31/2011 01:48 PM, Shawn McKenzie wrote: > > The cast to float is truncating the invalid characters and since your > string contains a float that is INF (8315e839) before the truncation at > the "d", then it returns INF. Makes perfect sense. > Just FYI... Don't post your troubles or misunderstandings as bug reports. The PHP developers sift through too many reports as it is and many or maybe the majority are "support" tickets like yours that are not "bugs". The people assigned to bugs are not going to explain why your issue is not a bug in detail. They are tasked with fixing bugs, and they have many bug reports (mostly like yours). The appropriate place for you to post would be here on this list first. If the consensus of the veteran folks on this list is "wow, that's a bug" or some such, then we will tell you to post a bug report. -- Thanks! -Shawn http://www.spidean.com

« previous php.general (#314685) next »