News for hackers. Stuff that matters.
Re:PHP Bug: #50696: number_format when passed a 0, returns null by rbanffy on Monday January 11, 2010 @07:06AM (#1044913)
Asking a function that formats a number and that is defined that way in the documentation to format a string is a programming mistake. As the discussion clearly states, it's a minor change in application code that would make it both clearer and more robust.

I would go as far as recommend using a USB shock device to issue a warning to the programmer every times a mistake like this is made. ;-)

There are no comments on this comment yet.