[Phpmyadmin-devel] Re: trigger_error
michal at cihar.com
Thu Dec 1 01:03:02 CET 2005
On Thursday 01 December 2005 09:05, Sebastian Mendel wrote:
> But finding errors especially in classes/objects without this make it
> really hard sometimes!
Errors you added are mostly for user and not for developer. And user does not
care where in class did error happen.
> If trigger_error() is a problem on a system than every error is a
> problem on this system.
Yes, see PMASA-2005-2 
> If PMA would not give out any errors it just need to set his own
> I do not fully understand what is the problem with trigger_error or what
> makes the problems with trigger_error bigger than normal errors?
We should not issue any PHP errors nor warnings.
> The real problem is displaying errors to the client, not triggering an
> error - so this is a system setting not an application setting.
> The only way to handle this is that PMA uses his own error handler.
This might be a solution.
Michal Čihař | http://cihar.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
More information about the Developers