Home >php教程 >PHP源码 >简单的异常处理

简单的异常处理

PHP中文网
PHP中文网Original
2016-05-26 08:18:531039browse

跳至

 50) {
		trigger_error("x great than 50", E_USER_NOTICE);	
	} else {
		trigger_error("x less than 50", E_USER_WARNING);	
	}
}

test_handler();

                   

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn