#26309 [Opn->Csd]: imageftbbox() requires the optional parameter
| From: | iliaa@php.net | Date: | Wed, 19 Nov 2003 15:48:01 +0000 |
| Subject: | #26309 [Opn->Csd]: imageftbbox() requires the optional parameter | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969356978@lists.php.net to get a copy of this message | ||
ID: 26309
Updated by: iliaa@php.net
Reported By: kputnam at putnamcabinets dot com
-Status: Open
+Status: Closed
-Bug Type: GD related
+Bug Type: Documentation problem
Operating System: Debian GNU/Linux (Sid)
PHP Version: 5.0.0b2 (beta2)
New Comment:
This bug has been fixed in CVS.
In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
This is a documentation problem.
The imagettfbbox() allows the
Previous Comments:
------------------------------------------------------------------------
[2003-11-19 01:02:06] kputnam at putnamcabinets dot com
Description:
------------
The documentation shows that the last parameter is optional (extrainfo)
but an error is generated when it is left out. Calling with an empty
array as the last parameter resolves the issue.
Reproduce code:
---------------
$box = imageftbbox($size,$angle,$this->fonts[$font],$text);
Actual result:
--------------
PHP Warning: Wrong parameter count for imageftbbox()
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26309&edit=1