sprintf: Considers the string an integer and formats it with that ASCII value : sprintf « Development « PHP
- PHP
- Development
- sprintf
sprintf: Considers the string an integer and formats it with that ASCII value
<?
$total = 110;
$fmt_total = sprintf ("%c", $total);
echo "$fmt_total";
?>
Related examples in the same category