mfischer Tue Sep 10 03:49:39 2002 EDT
Modified files:
/phpdoc/en/reference/array/functions extract.xml
Log:
- Document new EXTR_REFS flag introduced by Andrei.
Index: phpdoc/en/reference/array/functions/extract.xml
diff -u phpdoc/en/reference/array/functions/extract.xml:1.4
phpdoc/en/reference/array/functions/extract.xml:1.5
--- phpdoc/en/reference/array/functions/extract.xml:1.4 Sun May 12 04:19:28 2002
+++ phpdoc/en/reference/array/functions/extract.xml Tue Sep 10 03:49:38 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/array.xml, last change in rev 1.2 -->
<refentry id="function.extract">
<refnamediv>
@@ -36,6 +36,11 @@
EXTR_IF_EXISTS and EXTR_PREFIX_IF_EXISTS was introduced in version 4.2.0.
</para>
</note>
+ <note>
+ <para>
+ EXTR_REFS was introduced in version 4.3.0.
+ </para>
+ </note>
<para>
<function>extract</function> checks each key to see whether it
constitutes a valid variable name and also for collisions with
@@ -108,6 +113,19 @@
Only create prefixed variable names if the non-prefixed version
of the same variable exists in the current symbol table. This
flag was added in PHP 4.2.0.
+ </simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>EXTR_REFS</term>
+ <listitem>
+ <simpara>
+ Extracts variables as references. This effectively means that the
+ values of the imported variables are still referencing the values of
+ the <parameter>var_array</parameter> parameter. You can use this flag
+ on it's own or combine it with any other flag by OR'ing the
+ <parameter>extract_type</parameter>. This flag was added in PHP
+ 4.3.0.
</simpara>
</listitem>
</varlistentry>
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php