svn: /phpdoc/en/trunk/reference/array/functions/ extract.xml
| From: | Christoph Michael Becker | Date: | Fri, 28 Aug 2015 12:36:58 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/array/functions/ extract.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-13666@lists.php.net to get a copy of this message | ||
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.