Well, at the beginning the "PMA_mysqlDie()" function was used to have a xtml valid and nice MySQL error report. Maybe we could only add a setting in this function to bypass the parser when it is called because a PHP function for MySQL failed?
And what about a PMA_phpDie() function? imho php function failures and those of MySQL queries should be handled serperately.
Alexander