Current number of APIs 12 created (4) trigger_error-creates a user-defined error message that is used to trigger an error message under user-specified conditions. It is used in conjunction with the built-in error handler, and can be used with user_error-trigger_error aliases with user-defined functions created by the Set_error_handler () function set_error_handler- Set user-defined error handling functions, replace built-in error handler set_exception_handler-set user-defined exception handler, replace the built-in exception handler gets (2) error_get_last-returns the last error as an array debug_backtrace-returns an exception-traced array (backtrace) Cleanup (1) error_clear_last-clears the most recent exception information in memory Recovery (2) Restore_er
1. PHP Error Handling API Method Induction Summary MD
Brief:: PHP Error Handling API Method Summary MD: Current number of APIs 12 created (4) trigger_error-Create a user-defined error message to trigger an error message under user-specified conditions. It is used in conjunction with the built-in error handler, and can be used with user_error-trigger_error aliases with user-defined functions created by the Set_error_handler () function set_error_handler- Set user-defined error handlers to replace the built-in error handler SET_EX
2. The use of PHP custom error handling functions _php tutorial
Introduction: The Use of PHP custom error handling functions is detailed. Copy the code code as follows: function MyErrorHandler ($errno, $errstr, $errfile, $errline) {if (!) ( error_reporting ()} switch ($errno) {case E_user_error:echo "bMy error/b [$errno] $er
3. How to use the PHP rmdir () function to delete a directory _php tutorial
Summary: How to use the PHP rmdir () function to delete a directory. for PHP rmdir () function code: PHP functionremovedir ($dirName) {$ result = False, if (!is_dir ($dirName)) {trigger_error (directory name error, E_u SER_ERROR); } $ handle = Opendir
4. Elementary Introduction to PHP User identity authentication (II.)
Introduction: Elementary Introduction to PHP User identity authentication (II.)
5. Smarty The syntax of the brackets about the problem
Summary: Smarty syntax problem {$data ["bank_data"] ["arrangement"] ["id"]} PHP (5.3.9) error (E_user_error): File: Smarty.class.phpline:1092type:
6. PHP abbreviated digital paging display code
Introduction: PHP Simple Digital paging display code <?php//database connection info/* $conn = mysql_connect (' localhost ', ' dbusername ', ' dbpass ') or Trigger_error ("SQL", e_user_error); $db = mysql_select_db (' d
7. PHP Database related issues,
Introduction: PHP database problems, help .... Beginners PHP, want to write a landing page, but now even verify the account is not over, please look at my code is where there is a problem <?php $user 123 = $_post[' user '); $db = new Mysqli ($SQLN, $sqlu, $SQLP
8. Detailed usage of PHP custom error handling function
Introduction: The Use of PHP custom error handling functions is detailed. Copy the code code as follows: function MyErrorHandler ($errno, $errstr, $errfile, $errline) {if (!) ( error_reporting ()} switch ($errno) {case E_user_error:echo "bMy error/b [$errno] $er
9. PHP Database related issues,
Introduction: PHP database problems, help .... Beginners PHP, want to write a landing page, but now even verify the account is not over, please look at my code is where there is a problem <?php $user 123 = $_post[' user '); $db = new Mysqli ($SQLN, $sqlu, $SQLP, $sq
10. How to delete a directory using the PHP rmdir () function
Summary: How to use the PHP rmdir () function to delete a directory. for PHP rmdir () function code: PHP functionremovedir ($dirName) {$ result = False, if (!is_dir ($dirName)) {trigger_error (directory name error, E_u SER_ERROR); } $ handle = Opendir