|  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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
37 + 34 = ?
Subscribe to this entry?

 [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: Sat Jun 12 19:01:24 2021 UTC