philip Fri Feb 25 15:32:08 2005 EDT
Modified files: /phpdoc/en/appendices ini.xml Log: Document the auto_globals_jit directive. http://cvs.php.net/diff.php/phpdoc/en/appendices/ini.xml?r1=1.11&r2=1.12&ty=u Index: phpdoc/en/appendices/ini.xml diff -u phpdoc/en/appendices/ini.xml:1.11 phpdoc/en/appendices/ini.xml:1.12 --- phpdoc/en/appendices/ini.xml:1.11 Tue Feb 22 12:36:04 2005 +++ phpdoc/en/appendices/ini.xml Fri Feb 25 15:32:07 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> +<!-- $Revision: 1.12 $ --> <appendix id="ini"> <title>&php.ini; directives</title> @@ -192,7 +192,7 @@ <entry>Available since PHP 4.3.0.</entry> </row> <row> - <entry>auto_globals_jit</entry> + <entry><link linkend="ini.auto-globals-jit">auto_globals_jit</link></entry> <entry>"1"</entry> <entry>PHP_INI_PERDIR</entry> <entry>Available since PHP 5.0.0.</entry> @@ -2587,6 +2587,28 @@ </listitem> </varlistentry> + <varlistentry id="ini.auto-globals-jit"> + <term> + <parameter>auto_globals_jit</parameter> + <type>boolean</type> + </term> + <listitem> + <para> + When enabled, the SERVER and ENV variables are created when they're + first used (Just In Time) instead of when the script starts. If these + variables are not used within a script, having this directive on will + result in a performance gain. + </para> + <para> + The PHP directives + <link linkend="ini.register-globals">register_globals</link>, + <link linkend="ini.register-long-arrays">register_long_arrays</link>, + and <link linkend="ini.register-argc-argv">register_argc_argv</link> + must be disabled for this directive to have any affect. + </para> + </listitem> + </varlistentry> + <varlistentry id="ini.register-globals"> <term> <parameter>register_globals</parameter>