php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #41937 Documentation of ini_get() return values
Submitted: 2007-07-09 12:53 UTC Modified: 2007-08-16 12:31 UTC
From: zoe at uk dot ibm dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: Linux
Private report: No CVE-ID: None
 [2007-07-09 12:53 UTC] zoe at uk dot ibm dot com
Description:
------------
This problem is related to defect 41922 and applies to both PHP5 and PHP6.

A decision has been made not to fix 41922 because of possible impact on existing applications.

I suggest that the following text is added to the documentation for ini_get().

Ini_get() will return a null string to indicate either (a) that the call to ini_get() has failed, or (b) that the value of the ini setting  is a null string. Please see here: http://uk.php.net/manual/en/ini.php for a list of ini settings which have a null string as the default value.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-08-16 12:31 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 empty string on failure or for null values"
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Nov 19 12:00:02 2025 UTC