Voting

: max(zero, seven)?
(Example: nine)

The Note You're Voting On

dvladimirov77 at gmail dot com
5 years ago
if the line starts with a narrow character, for example: "1"

function new_imagettfbbox($size, $angle, $fontfile, $text)
{
$first = substr($text, 0, 1);
$sub = substr($text, 1);

switch ($first)
{
case '1':
$text = '0' . $sub;
break;
}

return imagettfbbox($size, $angle, $fontfile, $text);
}

<< Back to user notes page

To Top