Tuesday
Jan042011
Automatic Type Coercion

When I write PHP code to read in a user name or email address, I do not expect the run-time system to attempt to convert it into a denormalized double-length floating-point number.
Update on Sun 2011-01-09 by
Tristram Brelstaff

Last night I had a dream in which a user chose the name "NaN"....
Update on Wed 2011-01-12 by
Tristram Brelstaff

This problem has been fixed by the latest PHP updates (5.3.2-1ubuntu4.6) that I installed this morning.
Reader Comments