Doc #61616 [Nab]: the new third argument of parse_ini_file is not documented
| From: | laruence@php.net | Date: | Wed, 04 Apr 2012 07:12:42 +0000 |
| Subject: | Doc #61616 [Nab]: the new third argument of parse_ini_file is not documented | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-8163@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=61616&edit=1
ID: 61616
Updated by: laruence@php.net
Reported by: laruence@php.net
Summary: the new third argument of parse_ini_file is not
documented
Status: Not a bug
Type: Documentation Problem
Package: Documentation problem
PHP Version: 5.4.0
Block user comment: N
Private report: N
New Comment:
ah, sorry, the www.php.net direct me to zh doc,, it's not there.
Previous Comments:
------------------------------------------------------------------------
[2012-04-04 06:50:44] aharvey@php.net
Looks documented to me, per http://au2.php.net/parse_ini_file:
scanner_mode
Can either be INI_SCANNER_NORMAL (default) or INI_SCANNER_RAW. If
INI_SCANNER_RAW is supplied, then option values will not be parsed.
Unless that's changed in PHP 5.4 (which I'm pretty sure it hasn't, since it's
not in UPGRADING and the code looks basically the same), I don't think this is
an issue.
------------------------------------------------------------------------
[2012-04-04 04:44:43] laruence@php.net
Description:
------------
the new arguments is:
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p|bl", &filename,
&filename_len, &process_sections, &scanner_mode) == FAILURE) {
RETURN_FALSE;
}
Test script:
---------------
none
Expected result:
----------------
nonenone
Actual result:
--------------
none
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=61616&edit=1