久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放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如何轉(zhuǎn)換字符串大小寫

      php轉(zhuǎn)換字符串大小寫的方法:可以使用strtolower()函數(shù)和strtoupper()函數(shù)實現(xiàn)字符串大小寫轉(zhuǎn)換。strtolower()函數(shù)把字符串轉(zhuǎn)換為小寫,返回轉(zhuǎn)換為小寫的字符串。

      php如何轉(zhuǎn)換字符串大小寫

      在php中,可以使用strtolower()函數(shù)和strtoupper()函數(shù)實現(xiàn)字符串大小寫轉(zhuǎn)換。下面我們來分別介紹一下這兩個函數(shù)。

      (推薦教程:php圖文教程)

      strtolower() 函數(shù)把字符串轉(zhuǎn)換為小寫,返回轉(zhuǎn)換為小寫的字符串。

      語法:

      strtolower(string)

      strtoupper() 函數(shù)把字符串轉(zhuǎn)換為大寫,返回轉(zhuǎn)換為大寫的字符串。

      語法:

      strtoupper(string)

      (視頻教程推薦:php視頻教程)

      代碼示例:

      把所有字符轉(zhuǎn)換為大寫:

      <?php echo strtoupper("Hello WORLD!"); ?>

      把所有字符轉(zhuǎn)換為小寫:

      <?php echo strtolower("Hello WORLD."); ?>

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