Re:PHP 5.3.3 hangs on numeric value 2.2250738585072011e-308
by istvanp on Tuesday January 04, 2011 @06:21AM
(#2066588)
Might be true in general, but when the creator of PHP says it's a compiler issue it's hard to 2nd guess.
He also later added:
We still need to fix the code to make it immune to compiler switches.
Re:PHP 5.3.3 hangs on numeric value 2.2250738585072011e-308
by SimHacker on Tuesday January 04, 2011 @06:57AM
(#2066637)
"I'm not a real programmer. I throw together things until it works then I move on. The real programmers will say "Yeah it works but you're leaking memory everywhere. Perhaps we should fix that."" -Rasmus Lerdorf
When you attempt to make an argument from authority, at least choose someone who has some credibility to use as an authority.
Re:PHP 5.3.3 hangs on numeric value 2.2250738585072011e-308
by marshray on Tuesday January 04, 2011 @02:57PM
(#2068203)
We still need to fix the code to make it immune to compiler switches.
In other words, "We know that our code is buggy and it is relying on undefined behavior."
I.e., this developer knows it's a problem with his code, not the compiler, but he phrases it as if the "compiler switches" are the things causing the problems. This is classic developer arrogance and immaturity.
Thank God I don't rely on his software for anything important.
(I haven't looked at this particular issue; maybe it really is a compiler bug. But the odds are against it.)