[PHP-DOC] cvs: phpdoc /en/functions array.xml From: Andrei Zmievski (andrei <email protected>)
Date: 10/21/02

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

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