php_sapi_name()
判斷是否是執行PHP的容器類型:cli、cgi-fcgi、apache
register_shutdown_function()
1. 頁面被(用戶)強制停止:exit(),die()
2. 程序代碼意外終止或超時:FATAL ERROR
3. 執行完成
http://www.jb51.net/article/68293.htm
chr/ord/sprintf
字符與 ASCII 轉換
常量只能包含標量數據(boolean,integer,float 和 string)。