PHP chr() function


In this article, We will explain to you PHP chr() function with example.

PHP chr() function

chr() function is a string function. which is accept ASCII value and returns a character from the specified ASCII value. so you can see our PHP String Function example.

Syntax

chr(ASCII_value);

Example

<?PHP
    echo chr(65);
?>

Output

A