#29235 [Opn->Bgs]: "optional" function parameters are now required
| From: | iliaa@php.net | Date: | Sun, 18 Jul 2004 16:47:11 +0000 |
| Subject: | #29235 [Opn->Bgs]: "optional" function parameters are now required | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-62588@lists.php.net to get a copy of this message | ||
ID: 29235
Updated by: iliaa@php.net
Reported By: faxguy at howardsilvan dot com
-Status: Open
+Status: Bogus
Bug Type: *PDF functions
Operating System: Linux 2.4.20
PHP Version: 4.3.8
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[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