vrana           Thu Aug 12 13:31:20 2004 EDT

  Modified files:              
    /phpdoc/en/reference/info/functions getopt.xml 
  Log:
  longopts
  # I am not sure which platforms have getopt_long()
  
http://cvs.php.net/diff.php/phpdoc/en/reference/info/functions/getopt.xml?r1=1.8&r2=1.9&ty=u
Index: phpdoc/en/reference/info/functions/getopt.xml
diff -u phpdoc/en/reference/info/functions/getopt.xml:1.8 
phpdoc/en/reference/info/functions/getopt.xml:1.9
--- phpdoc/en/reference/info/functions/getopt.xml:1.8   Tue Dec  2 14:51:46 2003
+++ phpdoc/en/reference/info/functions/getopt.xml       Thu Aug 12 13:31:20 2004
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.8 $ -->
+<!-- $Revision: 1.9 $ -->
   <refentry id="function.getopt">
    <refnamediv>
     <refname>getopt</refname>
@@ -10,11 +10,17 @@
      <methodsynopsis>
       <type>array</type><methodname>getopt</methodname>
       <methodparam><type>string</type><parameter>options</parameter></methodparam>
+      <methodparam 
choice="opt"><type>array</type><parameter>longopts</parameter></methodparam>
      </methodsynopsis>
     <para>
      Returns an associative array of option / argument pairs based on the
      options format specified in <parameter>options</parameter>, or &false;
      on an error.
+    </para>
+    <para>
+     On platforms that have C function getopt_long, long options can be
+     specified with parameter <parameter>longopts</parameter>. It is available
+     since PHP 4.3.0.
     </para>
     <para>
      <informalexample>

Reply via email to