#20267 [Opn->Fbk]: php_ini_scanned_files documentation
| From: | philip@php.net | Date: | Wed, 06 Nov 2002 21:20:17 +0000 |
| Subject: | #20267 [Opn->Fbk]: php_ini_scanned_files documentation | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969349445@lists.php.net to get a copy of this message | ||
ID: 20267
Updated by: philip@php.net
Reported By: leon@leonatkinson.com
-Status: Open
+Status: Feedback
Bug Type: Documentation problem
PHP Version: 4CVS-2002-11-05
Assigned To: philip
New Comment:
> The comma-separated list has linebreaks after the
> commas, too.
Ahh, okay.
> Technically, I don't think there's a failure condition
> for this function. It returns FALSE if there were no
> additional configuration files.
Under what conditions does this function return an empty string, and
when is boolean false returned?
> BTW, your opening literal tag is mis-typed.
Doh! Thank goodness for 'make test' and keen eyes such as yours :)
Previous Comments:
------------------------------------------------------------------------
[2002-11-06 12:09:43] leon@leonatkinson.com
Yes, it looks right. The comma-separated list has linebreaks after the
commas, too.
Technically, I don't think there's a failure condition for this
function. It returns FALSE if there were no additional configuration
files.
BTW, your opening literal tag is mis-typed.
Thanks,
Leon
------------------------------------------------------------------------
[2002-11-06 01:54:39] philip@php.net
Please confirm the following description:
<function>php_ini_scanned_files</function> returns a comma-separated
list of configuration files parsed after &php.ini;. These files are
found in a directory defined by the
<literel>--with-config-file-scan-dir</literal> option which is set
during compilation.
Returns a comma-separated string of .ini files on success or an empty
string if either no file scan directory was set, the directory was
empty, or on failure.
--
Especially the last sentence :)
------------------------------------------------------------------------
[2002-11-05 15:52:16] leon@leonatkinson.com
We need documentation for php_ini_scanned_files()
string php_ini_scanned_files(void)
This function returns a comma-separated list of configuration files
parsed after php.ini. These files are found in a directory defined by
the --with-config-file-scan-dir option sent to configure before
compilation.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20267&edit=1