執行 ❯
獲取您
自己的 PHP
伺服器
×
更改方向
更改主題,深色/淺色
前往 Spaces
<!DOCTYPE html> <html> <body> <p>The parameter "mode 3" will return a string with all the different characters used. In this example, the characters used in "Hello World!" are:</p> <?php $str = "Hello World!"; echo count_chars($str,3); ?> </body> </html>
引數“mode 3”將返回一個包含所有不同字元的字串。在此示例中,“Hello World!”中使用的字元是
!HWdelor