MENU
Error Generation
trigger_error($s[,$i=E_USER_NOTICE]) or user_error(……) generates a user-level error/warning/notice. $i can be E_USER_NOTICE, E_USER_WARNING, E_USER_ERROR.<!DOCTYPE html><html><head></head>
<body><?php
user_error("NOTICE!",E_USER_NOTICE);
trigger_error("WARNING!",E_USER_WARNING);
trigger_error("ERROR!",E_USER_ERROR);
?> </body></html>