From:             bas at vanklinkenbergsoftware dot nl
Operating system: N/A
PHP version:      4.3.7
PHP Bug Type:     Documentation problem
Bug description:  pg_field_prtlen takes int instead of string as third argument

Description:
------------
In the online documentation for pg_field_prtlen, the function  arguments
are described as follows:

int pg_field_prtlen (resource result, int row_number, string field_name)

but actually it should be:

int pg_field_prtlen (resource result, int row_number, int column_number)

(The third argument should be column number instead of field name).
When using pg_field_prtlen as stated in the online documentation, a 'Bad
Column Offset' error is generated.


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

Reply via email to