note 125053 added to function.imagettfbbox

From: Date: Wed, 27 May 2020 12:43:35 +0000
Subject: note 125053 added to function.imagettfbbox
Groups: php.notes 
Request: Send a blank email to php-notes+get-214687@lists.php.net to get a copy of this message
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); } ---- Server IP: 45.112.84.4 Probable Submitter: 103.51.166.36 (proxied: 78.37.17.106) ---- Manual Page -- http://php.net/manual/en/function.imagettfbbox.php Edit -- https://master.php.net/note/edit/125053 Del: integrated -- https://master.php.net/note/delete/125053/integrated Del: useless -- https://master.php.net/note/delete/125053/useless Del: bad code -- https://master.php.net/note/delete/125053/bad+code Del: spam -- https://master.php.net/note/delete/125053/spam Del: non-english -- https://master.php.net/note/delete/125053/non-english Del: in docs -- https://master.php.net/note/delete/125053/in+docs Del: other reasons-- https://master.php.net/note/delete/125053 Reject -- https://master.php.net/note/reject/125053 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#214687) next »