久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放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. 站長(zhǎng)資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      php變量名區(qū)分大小寫嗎

      php變量名區(qū)分大小寫嗎

      1、變量名區(qū)分大小寫

      所有變量均區(qū)分大小寫,包括普通變量以及$_GET,$_POST,$_REQUEST,$_COOKIE,$_SESSION,$GLOBALS,$_SERVER,$_FILES,$_ENV 等;

      <?php $abc = 'abc'; echo $abc;    //輸出'abc' echo $aBc;    //無輸出 echo $ABC;    //無輸出 ?>

      2、常量名區(qū)分大小寫

      使用define定義的常量是區(qū)分大小寫的。

      <?php define('BLOGGER','Veitor'); echo BLOGGER;    //輸出'Veitor' echo BLOgger;    //報(bào)NOTICE提示,并輸出'BLOgger' echo blogger;    //報(bào)NOTICE提示,并輸出'blogger' ?>

      3、數(shù)組索引(鍵名)區(qū)分大小寫

      <?php $arr = array('one'=>'first'); echo $arr['one'];    //輸出'first' echo $arr['One'];    //無輸出并報(bào)錯(cuò) echo $Arr['one'];    //上面講過,變量名區(qū)分大小寫,所以無輸出并報(bào)錯(cuò) ?>

      推薦教程:PHP視頻教程

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