The problem with this is that the 500 error does not provide any information about the error.
To the user, no. I wouldn't want users to see low level error messages anyway. Since standard error handlers can catch "normal" messages, the fact that a 500 error has occured means that something bigger is wrong and you have to go and fix it anyway. Then you can look the error message in the log file and see what the problem was.
Also, the message will probably be "parse error at line XXX" anyway :)) You would probably keep this off during the development phase, in which case messages will appear directly on screen. Ivan -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php