<?php// set the error reporting level for this scripterror_reporting(E_USER_ERROR | E_USER_WARNING | E_USER_NOTICE);// error handler functionfunction myErrorHandler($errno, $errstr, $errfile, $errline){ switch ($errno) { case E_USER_ERROR: echo "My ERROR [$errno] $errstr\n"; ...
www.dbjr.com.cn/shouce/php5/zh/function... 2025-6-8