cvs: phpdoc /en/functions array.xml
| From: | Andrei Zmievski | Date: | Mon, 21 Oct 2002 18:25:22 +0000 |
| Subject: | cvs: phpdoc /en/functions array.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969349203@lists.php.net to get a copy of this message | ||
andrei Mon Oct 21 14:25:22 2002 EDT
Modified files:
/phpdoc/en/functions array.xml
Log:
Some docs for EXTR_REFS flag.
Index: phpdoc/en/functions/array.xml
diff -u phpdoc/en/functions/array.xml:1.174 phpdoc/en/functions/array.xml:1.175
--- phpdoc/en/functions/array.xml:1.174 Wed Apr 17 15:58:41 2002
+++ phpdoc/en/functions/array.xml Mon Oct 21 14:25:21 2002
@@ -8,7 +8,7 @@
instead -->
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.174 $ -->
+<!-- $Revision: 1.175 $ -->
<reference id="ref.array">
<title>Array Functions</title>
<titleabbrev>Arrays</titleabbrev>
@@ -2670,6 +2670,9 @@
<para>
EXTR_IF_EXISTS and EXTR_PREFIX_IF_EXISTS was introduced in version 4.2.0.
</para>
+ <para>
+ EXTR_REFS was introduced in version 4.3.0.
+ </para>
</note>
<para>
<function>extract</function> checks each key to see whether it
@@ -2758,6 +2761,12 @@
EXTR_PREFIX_ALL, EXTR_PREFIX_INVALID or EXTR_PREFIX_IF_EXISTS. If
the prefixed result is not a valid variable name, it is not
imported into the symbol table.
+ </para>
+ <para>
+ An additional EXTR_REFS flag can be OR'ed together with the
+ <parameter>extract_type</parameter>. If it is set, the variables are
+ imported into the symbol table as references, and modifying any of them
+ will also modify the entries in the <parameter>var_array</parameter>.
</para>
<para>
<function>extract</function> returns the number of variables