php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #27690 sqlite_fetch_column_types 3rd argument for arrays
Submitted: 2004-03-25 03:02 UTC Modified: 2004-10-15 01:19 UTC
From: sdibb at comcast dot net Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 5CVS-2004-03-25 (dev) OS: Windows XP
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: sdibb at comcast dot net
New email:
PHP Version: OS:

 

 [2004-03-25 03:02 UTC] sdibb at comcast dot net
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
)


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-10-15 01:19 UTC] iliaa@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 14:01:32 2024 UTC