|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #67673 Expand details of the behaviour of register_argc_argv
Submitted: 2014-07-24 05:30 UTC Modified: 2014-12-30 10:42 UTC
From: peter dot mescalchin at gmail dot com Assigned:
Status: No Feedback Package: Documentation problem
PHP Version: Irrelevant OS: N/A
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:
From: peter dot mescalchin at gmail dot com
New email:
PHP Version: OS:


 [2014-07-24 05:30 UTC] peter dot mescalchin at gmail dot com
The manual page mentions that:

"This variable is not available when register_argc_argv is disabled.".

This should be expanded to say that it's hardcoded to be "On" for the CLI SAPI.

From manual page:

Test script:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2014-09-21 06:34 UTC]
-Status: Open +Status: Feedback
 [2014-09-21 06:34 UTC]
Hardcoded is misleading, you can override it with configuration on the command line. I see where it says "hardcoded" in the php.ini we distribute, but think it's a pretty loose use of the term, so don't want to include it in the manual.
 [2014-12-30 10:42 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Wed May 12 12:01:24 2021 UTC