note 33534 deleted from function.imagefttext by sniper
| From: | sniper@php.net | Date: | Fri, 14 Jan 2005 18:00:41 +0000 |
| Subject: | note 33534 deleted from function.imagefttext by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-83291@lists.php.net to get a copy of this message | ||
Note Submitter: boo at php dot net
----
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)