News for hackers. Stuff that matters.
Re:PHP 5.3.3 hangs on numeric value 2.2250738585072011e-308 by gjm11 on Tuesday January 04, 2011 @06:15AM (#2066576)
When a problem is described as an optimizer issue, it usually means that the code is making some unsound assumptions that happen to be true when compiling without optimization. Of course it's easier on the programmer's ego to blame it on the compiler...

(I haven't looked at this particular issue; maybe it really is a compiler bug. But the odds are against it.)

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.

Re:PHP 5.3.3 hangs on numeric value 2.2250738585072011e-308 by naz on Tuesday January 04, 2011 @06:34AM (#2066604)