php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #40206 should note that mysql functions all fetch strings, not corresponding data type
Submitted: 2007-01-23 10:22 UTC Modified: 2007-03-25 10:52 UTC
From: stepheneliotdewey at gmail dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: irrelevant
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: stepheneliotdewey at gmail dot com
New email:
PHP Version: OS:

 

 [2007-01-23 10:22 UTC] stepheneliotdewey at gmail dot com
Description:
------------
You should note in your documentation that the MySQL and MySQLi extensions all return strings, not the corresponding data types. E.g., if you pull out a column that is an integer column in MySQL, it will still be represented as a string in PHP, not an integer. I think adding this simple statement would help users a lot.

I will add this as a user note on one of the pages, but this should be mentioned with the functions like mysqli_fetch_row, mysqli_fetch_assoc, etc.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-03-25 10:52 UTC] vrana@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.

"Returns an array of strings"
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri Nov 21 05:00:01 2025 UTC