PHP chr() Function

The chr() function is used to converts ASCII value to character.

Demo :



Type Ascii

Example :

Type Ascii : 0x52.

Following code is used to chr() demo code If you need to copy and use your web site.


<?php
$str = 52;
$result =chr($str);
echo $result;
?>

The chr() function have in the one parameters that name is int ASCII.

Free Download Script :

If you need chr() function demo code download from following link.

Download




Content