note 33534 added to function.imagefttext

From: Date: Mon, 30 Jun 2003 05:06:43 +0000
Subject: note 33534 added to function.imagefttext
Groups: php.notes 
Request: Send a blank email to php-notes+get-51180@lists.php.net to get a copy of this message
Please, notice that last parameter IS NOT optional ! If you don't have any extrainfo to pass to this function, simply use array() instead of leave it blank. An example: [this produce an error] imagefttext($myimg, 12, 0, 100, 100, $mycolor, $myfont, "Hello"); [this is the correct form] imagefttext($myimg, 12, 0, 100, 100, $mycolor, $myfont, "Hello", array()); (I use PHP 4.3.2, GD 2.0.11, Linux Slackware 9) ---- Manual Page -- http://www.php.net/manual/en/function.imagefttext.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+33534 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+33534&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+33534&report=yes

« previous php.notes (#51180) next »