… converted to float, or string, or something, but handled properly. However, a couple or so weeks ago the following notice suddenly appeared: “Note that PHP… and assigned. To summarize, if you need to unpack an unsigned 32bit int from binary stream, you have to: convert it to float or string manually, do…
Post: PHP vs. BIGINT vs. float conversion caveat
…different systems, float is converted to string differently. (I spent a bit of time fighting with it today.) Consider the following script: php $f = …as float (especially on 32-bit systems where 32-bit int overflow will implicitly convert to float) and getting strange bugs, remember that string …
Comment: PHP vs. BIGINT vs. float conversion caveat
… thing – conversion from string. First of all, I don’t see any strings there. I can see a float converted to a string in 2 different… thing: even though PHP tries to handle this in a crossplatform way (because it uses its own float-to-string and string-to-float utilities since 5.2…
Post: Handling big result sets
…loop mysql_fetch_array (here I use PHP functions but they are common or …default NULL, `f11` int(11) default NULL, `f12` float default NULL, `f13` int(11) default NULL, `…to convert millions of values from int to the string and client has to do reverse conversion. This takes time. Furthemore string…

