ID: 29235 Updated by: [EMAIL PROTECTED] Reported By: faxguy at howardsilvan dot com -Status: Bogus +Status: Closed -Bug Type: *PDF functions +Bug Type: Documentation problem Operating System: Linux 2.4.20 PHP Version: 4.3.8 New Comment:
It's now documented. Previous Comments: ------------------------------------------------------------------------ [2004-07-18 18:47:09] [EMAIL PROTECTED] Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. This is a problem with the PDF extension distributed by the libpdf folks, it does not affect the ext/pdf in php sources. ------------------------------------------------------------------------ [2004-07-18 02:37:15] faxguy at howardsilvan dot com Description: ------------ Recently upgraded to using PHP 4.3.8 and PDFlib 6.0.0p1. Suddenly I need to supply all of the "optional" parameters to the PDF functions. Very frustrating. Reproduce code: --------------- $foo = pdf_stringwidth($pdf, "foo"); Expected result: ---------------- No error message saying that 4 parameters are required. Actual result: -------------- I get an error message requiring all 4 parameters, the last two of which are optional. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=29235&edit=1