PHP typing issues
Posted by: rhinosw
Posted on: 2005-07-26 22:20:00
Scripts which through differently typed variables attempt something similar to comparing '1' == 1, cause the script to bomb. Now if they simply bombed that would be fine (although I don't have these issues in my test environment), but insteqad end up with "Internal Server Error"s. As I'm sure you can appreciate, that's a pain to debug, as you don't know where in the script your problem is, or what it is in the first place. And the logs, all they told me was "Premature end of script headers: /dh/cgi-system/php5.cgi". Go figure.
Does anyone know how to get informative errors in this type of situation?
Ta,
Rhino