Re:PHP Bug: #50696: number_format when passed a 0, returns null
by prodigal_erik on Sunday January 10, 2010 @08:26PM
(#1044073)
This. There are dozens of situations where, given instructions that simply don't make sense, PHP arbitrarily picks some half-baked behavior instead of giving an error. So much so that I think the original poster is out of line for even considering tax planning in a language that wants to guess what you might have wanted to happen!
[ Parent
| on HN ]
Re:PHP Bug: #50696: number_format when passed a 0, returns null
by joeschmoesky on Wednesday January 13, 2010 @06:01PM
(#1051423)
+1