cvs: phpdoc /en language-snippets.ent /en/appendices ini.xml /en/security globals.xml magicquotes.xml

From: Date: Sat, 20 Oct 2007 00:25:49 +0000
Subject: cvs: phpdoc /en language-snippets.ent /en/appendices ini.xml /en/security globals.xml magicquotes.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-242@lists.php.net to get a copy of this message
colder Sat Oct 20 00:25:49 2007 UTC Modified files: /phpdoc/en language-snippets.ent /phpdoc/en/security globals.xml magicquotes.xml /phpdoc/en/appendices ini.xml Log: Deprecate magic_quotes_gpc and register_globals using a newly defined warning entity http://cvs.php.net/viewvc.cgi/phpdoc/en/language-snippets.ent?r1=1.209&r2=1.210&diff_format=u Index: phpdoc/en/language-snippets.ent diff -u phpdoc/en/language-snippets.ent:1.209 phpdoc/en/language-snippets.ent:1.210 --- phpdoc/en/language-snippets.ent:1.209 Sat Sep 15 02:44:00 2007 +++ phpdoc/en/language-snippets.ent Sat Oct 20 00:25:49 2007 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.209 $ --> +<!-- $Revision: 1.210 $ --> <!-- Keep 'em sorted --> @@ -114,6 +114,10 @@ about this extension -- may change without notice in a future release of PHP. Use this extension at your own risk.</simpara></warning>'> +<!ENTITY warn.deprecated.removed-6-0-0 '<warning xmlns="http://docbook.org/ns/docbook"><simpara>This feature is +<emphasis>DEPRECATED</emphasis> and <emphasis>REMOVED</emphasis> as of PHP 6.0.0. +Relying on this feature is highly discouraged.</simpara></warning>'> + <!ENTITY warn.experimental.func '<warning xmlns="http://docbook.org/ns/docbook"><simpara>This function is <emphasis>EXPERIMENTAL</emphasis>. The behaviour of this function, the name of this function, and anything else documented about this http://cvs.php.net/viewvc.cgi/phpdoc/en/security/globals.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc/en/security/globals.xml diff -u phpdoc/en/security/globals.xml:1.7 phpdoc/en/security/globals.xml:1.8 --- phpdoc/en/security/globals.xml:1.7 Wed Jun 20 22:25:41 2007 +++ phpdoc/en/security/globals.xml Sat Oct 20 00:25:49 2007 @@ -1,8 +1,9 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <!-- splitted from ./index.xml, last change in rev 1.66 --> <chapter xml:id="security.globals" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Using Register Globals</title> + &warn.deprecated.removed-6-0-0; <para> Perhaps the most controversial change in PHP is when the default value for the PHP directive <link linkend="ini.register-globals"> http://cvs.php.net/viewvc.cgi/phpdoc/en/security/magicquotes.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc/en/security/magicquotes.xml diff -u phpdoc/en/security/magicquotes.xml:1.9 phpdoc/en/security/magicquotes.xml:1.10 --- phpdoc/en/security/magicquotes.xml:1.9 Wed Jun 20 22:25:41 2007 +++ phpdoc/en/security/magicquotes.xml Sat Oct 20 00:25:49 2007 @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> +<!-- $Revision: 1.10 $ --> <chapter xml:id="security.magicquotes" xmlns="http://docbook.org/ns/docbook"> <title>Magic Quotes</title> - + &warn.deprecated.removed-6-0-0; <para> Magic Quotes is a process that automagically escapes incoming data to the PHP script. It's preferred to code with magic quotes off and to instead http://cvs.php.net/viewvc.cgi/phpdoc/en/appendices/ini.xml?r1=1.60&r2=1.61&diff_format=u Index: phpdoc/en/appendices/ini.xml diff -u phpdoc/en/appendices/ini.xml:1.60 phpdoc/en/appendices/ini.xml:1.61 --- phpdoc/en/appendices/ini.xml:1.60 Sat Sep 29 22:54:32 2007 +++ phpdoc/en/appendices/ini.xml Sat Oct 20 00:25:49 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.60 $ --> +<!-- $Revision: 1.61 $ --> <appendix xml:id="ini" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>&php.ini; directives</title> @@ -4105,7 +4105,7 @@ <para> If the deprecated <link linkend="ini.register-globals">register_globals</link> - directive is on (removed as of PHP 6), then variables_order also + directive is on (removed as of PHP 6.0.0), then variables_order also configures the order the <literal>ENV</literal>, <literal>GET</literal>, <literal>POST</literal>, <literal>COOKIE</literal> and <literal>SERVER</literal> variables @@ -4193,9 +4193,7 @@ directive. </para> </note> - <para> - This directive was removed in PHP 6.0.0. - </para> + &warn.deprecated.removed-6-0-0; </listitem> </varlistentry>

« previous php.doc.cvs (#242) next »