Added docs from php.ini for session.bug_compat_42 and session.bug_compat_warn

as per doc bug #23465.  This doesn't yet close the bug as this strange issue
needs additional documentation, somewhere.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@135351 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Philip Olson 2003-07-18 06:27:59 +00:00
parent 7ba4269019
commit de3748e109

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.15 $ -->
<!-- $Revision: 1.16 $ -->
<section id="session.configuration">
&reftitle.runtime;
&extension.runtime;
@ -110,6 +110,16 @@
<entry>"0"</entry>
<entry>PHP_INI_SYSTEM | PHP_INI_PERDIR</entry>
</row>
<row>
<entry>session.bug_compat_42</entry>
<entry>"1"</entry>
<entry>PHP_INI_ALL</entry>
</row>
<row>
<entry>session.bug_compat_warn</entry>
<entry>"1"</entry>
<entry>PHP_INI_ALL</entry>
</row>
<row>
<entry>url_rewriter.tags</entry>
<entry>"a=href,area=href,frame=src,input=src,form=fakeentry"</entry>
@ -488,6 +498,42 @@
</note>
</listitem>
</varlistentry>
<varlistentry id="ini.session.bug-compat-42">
<term>
<parameter>session.bug_compat_42</parameter>
<type>boolean</type>
</term>
<listitem>
<simpara>
PHP versions 4.2.0 and lower have an undocumented feature/bug that
allows you to to initialize a session variable in the global scope,
albeit <link linkend="ini.register-globals">register_globals</link>
is disabled. PHP 4.3.0 and later will warn you, if this feature is
used, and if <link linkend="ini.session.bug-compat-warn">
session.bug_compat_warn</link> is also enabled.
</simpara>
</listitem>
</varlistentry>
<varlistentry id="ini.session.bug-compat-warn">
<term>
<parameter>session.bug_compat_warn</parameter>
<type>boolean</type>
</term>
<listitem>
<simpara>
PHP versions 4.2.0 and lower have an undocumented feature/bug that
allows you to to initialize a session variable in the global scope,
albeit <link linkend="ini.register-globals">register_globals</link>
is disabled. PHP 4.3.0 and later will warn you, if this feature is
used by enabling both
<link linkend="ini.session.bug-compat-42">session.bug_compat_42</link>
and <link linkend="ini.session.bug-compat-warn">
session.bug_compat_warn</link>.
</simpara>
</listitem>
</varlistentry>
<varlistentry id="ini.url-rewriter.tags">
<term>