#29235 [Bgs->Csd]: "optional" function parameters are now required
| From: | vrana@php.net | Date: | Thu, 19 Aug 2004 07:20:04 +0000 |
| Subject: | #29235 [Bgs->Csd]: "optional" function parameters are now required | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969363324@lists.php.net to get a copy of this message | ||
ID: 29235
Updated by: vrana@php.net
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] iliaa@php.net
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