这个代码是zen cart 中的application _top。php中的代码 大家分析一下,谢谢
@ini_set("arg_separator.output","&");
/**
* Set the local configuration parameters - mainly for developers
*/
这个代码是什么意思啊 作用是什么啊 if (defined('STRICT_ERROR_REPORTING') && STRICT_ERROR_REPORTING == true) {
@ini_set('display_errors', '1');
error_reporting(E_ALL);
} else {
error_reporting(0);
}
这个呢?江湖救急
@ini_set("arg_separator.output","&");
/**
* Set the local configuration parameters - mainly for developers
*/
这个代码是什么意思啊 作用是什么啊 if (defined('STRICT_ERROR_REPORTING') && STRICT_ERROR_REPORTING == true) {
@ini_set('display_errors', '1');
error_reporting(E_ALL);
} else {
error_reporting(0);
}
这个呢?江湖救急
http://www.php.net/manual/en/function.error-reporting.php
手册自己查。
@ini_set('display_errors', '1');
error_reporting(E_ALL);
} else {
error_reporting(0);
} 这个相当于在程序中定义一个调试开关常量,如果true,则显示所有错误信息;否则不显示任何错误信息arg_separator.output string :PHP 所产生的 URL 中来分隔参数的分隔符。
http://www.phpe.net/manual/ini.sect.data-handling.php