From: sdibb at comcast dot net
Operating system: Windows XP
PHP version: 5CVS-2004-03-25 (dev)
PHP Bug Type: SQLite related
Bug description: sqlite_fetch_column_types 3rd argument for arrays
Description:
------------
This is just a simple request to modify the output of the array for the
sqlite_fetch_column_types() function.
Currently, it displays the array indexed by the column name[1]. It would
be cool if you could pass an int result_type, similar to
sqlite_fetch_array to index by column name, column number, or both[2].
Thas all. It'd certainly be helpful. :)
Reproduce code:
---------------
[1]
Array
(
[id] => integer
[volume] => integer
)
[2]
Array
(
[id] => integer
[0] => integer
[volume] => integer
[1] => integer
)
--
Edit bug report at http://bugs.php.net/?id=27690&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27690&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27690&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=27690&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=27690&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=27690&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=27690&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=27690&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=27690&r=support
Expected behavior: http://bugs.php.net/fix.php?id=27690&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=27690&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=27690&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=27690&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27690&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=27690&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=27690&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=27690&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27690&r=float