Some docs for EXTR_REFS flag.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@100472 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Andrei Zmievski 2002-10-21 18:25:21 +00:00
parent f62d3bc403
commit 26b40435b4

View file

@ -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 @@ while (list ($key, $val) = each ($HTTP_POST_VARS)) {
<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
@ -2759,6 +2762,12 @@ while (list ($key, $val) = each ($HTTP_POST_VARS)) {
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
successfully imported into the symbol table.