跳到主要內容

產生A-Z的字元陣列 - -PHP版




簡單列出迴圈部分程式
$word = array();
for($i = 0 ; $i<26 ; $i++){ $word[] = chr(ord("A")+$i); }


回傳字串的ASCII
int ord ( string $string )
將ASCII數字回傳成字串
string chr ( int $ascii )

留言

這個網誌中的熱門文章

What is phpize

What is phpize According to the PHP official document : The phpize command is used to prepare the build environment for a PHP extension. If you need to build such an extension that from github or another code repositories, you can use  build tools to perform the build manually.