Return characters from different ASCII values in PHP
Description
The following code shows how to return characters from different ASCII values.
Example
/*from w w w .j a va 2 s. c o m*/
<?php
echo chr(52) . "<br>"; // Decimal value
echo chr(052) . "<br>"; // Octal value
echo chr(0x52) . "<br>"; // Hex value
?>
The code above generates the following result.