From:             faxguy at howardsilvan dot com
Operating system: Linux 2.4.20
PHP version:      4.3.8
PHP Bug Type:     *PDF functions
Bug description:  "optional" function parameters are now required

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 bug report at http://bugs.php.net/?id=29235&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=29235&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=29235&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=29235&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=29235&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=29235&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=29235&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=29235&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=29235&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=29235&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=29235&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=29235&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=29235&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29235&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=29235&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=29235&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=29235&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=29235&r=float

Reply via email to