From: kputnam at putnamcabinets dot com Operating system: Debian GNU/Linux (Sid) PHP version: 5.0.0b2 (beta2) PHP Bug Type: GD related Bug description: imageftbbox() requires the optional parameter
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 bug report at http://bugs.php.net/?id=26309&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26309&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26309&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=26309&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=26309&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=26309&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=26309&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=26309&r=support Expected behavior: http://bugs.php.net/fix.php?id=26309&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=26309&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=26309&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=26309&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26309&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=26309&r=dst IIS Stability: http://bugs.php.net/fix.php?id=26309&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=26309&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=26309&r=float