error_reporting.php3

来自「linux操作系统中 php 核心编程所有例程 都是一些很不错的案例」· PHP3 代码 · 共 17 行

PHP3
17
字号
<HTML>
<HEAD>
<TITLE>error_reporting</TITLE>
</HEAD>
<BODY>
<?
	// empty variable, but no notice 
	print($empty_variable);

	// turn on notices 
	error_reporting(error_reporting(0) | 8);

	// empty variable, notice message 
	print($empty_variable);
?>
</BODY>
</HTML>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?