The chr() function returns a character from the specified ASCII value.
Following is a simple example of chr() function
<?php
echo chr(52)."<br />";
echo chr(052)."<br />";
echo chr(0x52)."<br />";
?>
This code will give output:
4
*
R
Following is a simple example of chr() function
<?php
echo chr(52)."<br />";
echo chr(052)."<br />";
echo chr(0x52)."<br />";
?>
This code will give output:
4
*
R
No comments:
Post a Comment