|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #61616 the new third argument of parse_ini_file is not documented
Submitted: 2012-04-04 04:44 UTC Modified: 2012-04-04 07:12 UTC
From: Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: 5.4.0 OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
New email:
PHP Version: OS:


 [2012-04-04 04:44 UTC]
the new arguments is:

if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p|bl", &filename, 
&filename_len, &process_sections, &scanner_mode) == FAILURE) {

Test script:

Expected result:

Actual result:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2012-04-04 06:50 UTC]
-Status: Open +Status: Not a bug -Type: Bug +Type: Documentation Problem
 [2012-04-04 06:50 UTC]
Looks documented to me, per

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 07:12 UTC]
ah, sorry,  the direct me to zh doc,, it's not there.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sat Apr 17 21:01:27 2021 UTC