久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放AV片

<center id="vfaef"><input id="vfaef"><table id="vfaef"></table></input></center>

    <p id="vfaef"><kbd id="vfaef"></kbd></p>

    
    
    <pre id="vfaef"><u id="vfaef"></u></pre>

      <thead id="vfaef"><input id="vfaef"></input></thead>

    1. 站長資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      如何配置php當(dāng)前頁面報(bào)錯(cuò)設(shè)置

      配置php當(dāng)前頁面報(bào)錯(cuò)設(shè)置的方法是,在php代碼中添加配置【ini_set('display_errors', 'On');error_reporting(E_ALL);】即可。

      如何配置php當(dāng)前頁面報(bào)錯(cuò)設(shè)置

      本文操作環(huán)境:windows10系統(tǒng)、php 7.3、thinkpad t480電腦。

      在調(diào)試php代碼的時(shí)候,我們?yōu)榱丝焖俣ㄎ诲e(cuò)誤,通常會(huì)開啟報(bào)錯(cuò)信息提示。

      那么我們該如何配置當(dāng)前頁面報(bào)錯(cuò)設(shè)置呢?下面就讓我們一起來看看吧。

      error_reporting() 函數(shù)規(guī)定報(bào)告哪個(gè)錯(cuò)誤,該函數(shù)設(shè)置當(dāng)前腳本的錯(cuò)誤報(bào)告級(jí)別,該函數(shù)返回舊的錯(cuò)誤報(bào)告級(jí)別。

      具體設(shè)置如下:

      ini_set('display_errors', 'On'); ini_set('memory_limit', '64M');  //報(bào)錯(cuò),詳細(xì) error_reporting(E_ALL);  //不報(bào)錯(cuò)  error_reporting(0)

      學(xué)習(xí)視頻分享:php視頻教程

      贊(0)
      分享到: 更多 (0)
      網(wǎng)站地圖   滬ICP備18035694號(hào)-2    滬公網(wǎng)安備31011702889846號(hào)