mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Mention that no directives affect $argc/$argv in CLI, not even register_argc_argv
See also features.commandline git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@164360 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
bd12b7c7e0
commit
0551ef414a
1 changed files with 10 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.26 $ -->
|
||||
<!-- $Revision: 1.27 $ -->
|
||||
<appendix id="migration5">
|
||||
<title>Migrating from PHP 4 to PHP 5</title>
|
||||
|
||||
|
@ -193,8 +193,15 @@ class b implements c {
|
|||
box" appears on the screen). This behavior is similar to php-gtk.
|
||||
</para>
|
||||
<para>
|
||||
In PHP 5, the CLI version will always populate the global $argv and $argc
|
||||
variables.
|
||||
In PHP 5, the CLI version will always populate the global
|
||||
<varname>$argv</varname> and <varname>$argc</varname> variables regardless
|
||||
of any &php.ini; directive setting. Even having
|
||||
<link linkend="ini.register-argc-argv">register_argc_argv</link> set to
|
||||
<literal>off</literal> will have no affect in CLI.
|
||||
</para>
|
||||
<para>
|
||||
See also the <link linkend="features.commandline">commandline
|
||||
reference</link>.
|
||||
</para>
|
||||
</section>
|
||||
|
||||
|
|
Loading…
Reference in a new issue