imageftbbox() requires the optional parameter
| Doc Bug #26309 | imageftbbox() requires the optional parameter | ||||
|---|---|---|---|---|---|
| Submitted: | 2003-11-19 01:02 UTC | Modified: | 2004-09-16 17:06 UTC | ||
| From: | kputnam at putnamcabinets dot com | Assigned: | philip (profile) | ||
| Status: | Closed | Package: | Documentation problem | ||
| PHP Version: | 5.0.0b2 (beta2) | OS: | Debian GNU/Linux (Sid) | ||
| Private report: | No | CVE-ID: | None | ||
[2003-11-19 01:02 UTC] 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()
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2003-11-19 10:48 UTC] iliaa@php.net
[2004-07-15 01:32 UTC] philip@php.net
[2004-09-16 17:06 UTC] vrana@php.net