Chr
(PHP3 , PHP4)
Chr --- 传回指定的字元
语法 :
string chr
(int ascii)说明 :
传回参数 ascii指定的字元。
Example :
<?php
$str .= chr (27); /* add an escape character at the end of $str */
/* Often this is more useful */
$str = sprintf ("The string ends in escape: %c", 27);
?>
此函数是ord( )的互补,参考sprintf( )