#51163 [NEW]: fetch_field variants manual is wrong - they dont provide default value def
| From: | berniev at bje dot com dot au | Date: | Sat, 27 Feb 2010 04:55:19 +0000 |
| Subject: | #51163 [NEW]: fetch_field variants manual is wrong - they dont provide default value def | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-3989@lists.php.net to get a copy of this message | ||
From: berniev at bje dot com dot au
Operating system: ubuntu 9
PHP version: 5.3.1
PHP Bug Type: Documentation problem
Bug description: fetch_field variants manual is wrong - they dont provide default value def
Description:
------------
The manuals for PHP all show mysql_fetch_field (s) (and mysqli) provide
the table default value, WHICH THEY DO NOT!
The manuals appear to be blatantly wrong.
Interestingly the examples conveniently leave out def values.
This may also apply to autoinc and primary key flags?
The only reference to this I could find anywhere is a note from
shoresofnowhere at gmail dot com 26-Aug-2009 10:50 after hours of
searching.
Please Please update the manuals!! (or fix php !)
Reproduce code:
---------------
---
From manual page: http://www.php.net/mysqli-result.fetch-field-direct
---
--
Edit bug report at http://bugs.php.net/?id=51163&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=51163&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=51163&r=trysnapshot53
Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=51163&r=trysnapshot60
Fixed in SVN: http://bugs.php.net/fix.php?id=51163&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=51163&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=51163&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=51163&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=51163&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=51163&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=51163&r=support
Expected behavior: http://bugs.php.net/fix.php?id=51163&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=51163&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=51163&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=51163&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=51163&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=51163&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=51163&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=51163&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=51163&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=51163&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=51163&r=mysqlcfg