Query: chr
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
CHR(3) 1 CHR(3) chr - Return a specific characterSYNOPSISstring chr (int $ascii)DESCRIPTIONReturns a one-character string containing the character specified by $ascii. This function complements ord(3).PARAMETERSo $ascii - The ascii code.RETURN VALUESReturns the specified character.EXAMPLESExample #1 chr(3) example <?php $str = "The string ends in escape: "; $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); ?>SEE ALSOsprintf(3) with a format string of %c, ord(3), An ASCII-table. PHP Documentation Group CHR(3)
| Related Man Pages |
|---|
| bytes(3pm) - mojave |
| bytes(3pm) - osx |
| addslashes(3) - php |
| mb_detect_encoding(3) - php |
| db2_escape_string(3) - php |
| Similar Topics in the Unix Linux Community |
|---|
| restrict access of a user to two directories only |
| Chris Johnson |
| server is not getting synchronized with ntp server |
| Auto NTP Time Synchronization |
| NTPSTAT shows clinet is Unsynchronised |