longopts is not available (bug #36319)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@206739 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jakub Vrana 2006-02-08 15:19:51 +00:00
parent e6d66c1ad8
commit 3b916f56e0

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.10 $ -->
<!-- $Revision: 1.11 $ -->
<refentry id="function.getopt">
<refnamediv>
<refname>getopt</refname>
@ -10,17 +10,13 @@
<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>
<!-- <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 the C function getopt_long, long options can be
specified with the parameter <parameter>longopts</parameter> (as of PHP 4.3.0).
</para>
<para>
<informalexample>
<programlisting role="php">