User Errors in PHP - SitePoint PHP Blog

February 23rd, 2005  |  Published in PHP

User Errors in PHP - SitePoint PHP Blog The trigger_error function in PHP allows you to generate a PHP error on demand. If you haven’t used this function before, you may be asking, “Why would you want to generate an error?” Well, it is a much more flexible solution than using exit or die to display your error message.

Comments are closed.