[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-doc-cvs
Subject:    [DOC-CVS] =?utf-8?q?svn:_/phpdoc/en/trunk/reference/array/functions/_extract.xml?=
From:       Christoph_Michael_Becker <cmb () php ! net>
Date:       2015-08-28 12:36:58
Message-ID: svn-cmb-1440765418-337660-1548992423 () svn ! php ! net
[Download RAW message or body]

cmb                                      Fri, 28 Aug 2015 12:36:58 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=337660

Log:
improved wording (contributed by anon user)

Changed paths:
    U   phpdoc/en/trunk/reference/array/functions/extract.xml

Modified: phpdoc/en/trunk/reference/array/functions/extract.xml
===================================================================
--- phpdoc/en/trunk/reference/array/functions/extract.xml	2015-08-28 10:13:46 UTC (rev 337659)
+++ phpdoc/en/trunk/reference/array/functions/extract.xml	2015-08-28 12:36:58 UTC (rev 337660)
@@ -71,7 +71,7 @@
          <term><constant>EXTR_PREFIX_SAME</constant></term>
          <listitem>
           <simpara>If there is a collision, prefix the variable name with
-          <parameter>prefix</parameter>.
+           <parameter>prefix</parameter>.
           </simpara>
          </listitem>
         </varlistentry>
@@ -213,9 +213,9 @@
     Do not use <function>extract</function> on untrusted data, like
     user input
     (i.e. <varname>$_GET</varname>, <varname>$_FILES</varname>, etc.).
-    If you do, for example if you want to run old code that relies
-    on <link linkend="security.globals">register_globals</link>
-    temporarily, make sure you use one of the non-overwriting
+    If you do, for example if you want to temporarily run old code that
+    relied on <link linkend="security.globals">register_globals</link>,
+    make sure you use one of the non-overwriting
     <parameter>flags</parameter> values such as
     <constant>EXTR_SKIP</constant> and be aware that you should extract
     in the same order that's defined in
@@ -225,9 +225,9 @@
   </warning>
   <note>
    <para>
-    If you
+    If you still
     have <link linkend="security.globals">register_globals</link>
-    turned on and you use <function>extract</function>
+    and it is turned on, if you use <function>extract</function>
     on <varname>$_FILES</varname> and
     specify <constant>EXTR_SKIP</constant>, you may be surprised at
     the results.



-- 
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic