Zend Framework 入門(3)—錯誤處理


undefinedweb

 

說明腳本中一些對象沒有設定
你應在在使用該對象前進行判斷
例如:
if(typeof(aobject) == "undefined"){
  //錯誤處理
}
spa

相關文章
相關標籤/搜索