[PHP-DOC] cvs: phpdoc /en/reference/info/functions getopt.xml
vrana Wed Feb 8 15:19:51 2006 UTC Modified files: /phpdoc/en/reference/info/functions getopt.xml Log: longopts is not available (bug #36319) http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/info/functions/getopt.xml?r1=1.10r2=1.11diff_format=u Index: phpdoc/en/reference/info/functions/getopt.xml diff -u phpdoc/en/reference/info/functions/getopt.xml:1.10 phpdoc/en/reference/info/functions/getopt.xml:1.11 --- phpdoc/en/reference/info/functions/getopt.xml:1.10 Thu Aug 12 22:19:33 2004 +++ phpdoc/en/reference/info/functions/getopt.xml Wed Feb 8 15:19:51 2006 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.10 $ -- +!-- $Revision: 1.11 $ -- refentry id=function.getopt refnamediv refnamegetopt/refname @@ -10,7 +10,7 @@ methodsynopsis typearray/typemethodnamegetopt/methodname methodparamtypestring/typeparameteroptions/parameter/methodparam - methodparam choice=opttypearray/typeparameterlongopts/parameter/methodparam + !-- methodparam choice=opttypearray/typeparameterlongopts/parameter/methodparam -- /methodsynopsis para Returns an associative array of option / argument pairs based on the @@ -18,10 +18,6 @@ on an error. /para para - On platforms that have the C function getopt_long, long options can be - specified with the parameter parameterlongopts/parameter (as of PHP 4.3.0). -/para -para informalexample programlisting role=php ![CDATA[
[PHP-DOC] cvs: phpdoc /en/reference/info/functions getopt.xml
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.8r2=1.9ty=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 refnamegetopt/refname @@ -10,11 +10,17 @@ methodsynopsis typearray/typemethodnamegetopt/methodname methodparamtypestring/typeparameteroptions/parameter/methodparam + methodparam choice=opttypearray/typeparameterlongopts/parameter/methodparam /methodsynopsis para Returns an associative array of option / argument pairs based on the options format specified in parameteroptions/parameter, or false; on an error. +/para +para + On platforms that have C function getopt_long, long options can be + specified with parameter parameterlongopts/parameter. It is available + since PHP 4.3.0. /para para informalexample
[PHP-DOC] cvs: phpdoc /en/reference/info/functions getopt.xml
seanThu Aug 12 18:19:33 2004 EDT Modified files: /phpdoc/en/reference/info/functions getopt.xml Log: grammar http://cvs.php.net/diff.php/phpdoc/en/reference/info/functions/getopt.xml?r1=1.9r2=1.10ty=u Index: phpdoc/en/reference/info/functions/getopt.xml diff -u phpdoc/en/reference/info/functions/getopt.xml:1.9 phpdoc/en/reference/info/functions/getopt.xml:1.10 --- phpdoc/en/reference/info/functions/getopt.xml:1.9 Thu Aug 12 13:31:20 2004 +++ phpdoc/en/reference/info/functions/getopt.xml Thu Aug 12 18:19:33 2004 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.9 $ -- +!-- $Revision: 1.10 $ -- refentry id=function.getopt refnamediv refnamegetopt/refname @@ -18,9 +18,8 @@ on an error. /para para - On platforms that have C function getopt_long, long options can be - specified with parameter parameterlongopts/parameter. It is available - since PHP 4.3.0. + On platforms that have the C function getopt_long, long options can be + specified with the parameter parameterlongopts/parameter (as of PHP 4.3.0). /para para informalexample
[PHP-DOC] cvs: phpdoc /en/reference/info/functions getopt.xml
didou Tue Dec 2 14:51:46 2003 EDT Modified files: /phpdoc/en/reference/info/functions getopt.xml Log: proto Index: phpdoc/en/reference/info/functions/getopt.xml diff -u phpdoc/en/reference/info/functions/getopt.xml:1.7 phpdoc/en/reference/info/functions/getopt.xml:1.8 --- phpdoc/en/reference/info/functions/getopt.xml:1.7 Sat Aug 16 13:35:22 2003 +++ phpdoc/en/reference/info/functions/getopt.xml Tue Dec 2 14:51:46 2003 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.7 $ -- +!-- $Revision: 1.8 $ -- refentry id=function.getopt refnamediv refnamegetopt/refname @@ -8,7 +8,7 @@ refsect1 titleDescription/title methodsynopsis - typestring/typemethodnamegetopt/methodname + typearray/typemethodnamegetopt/methodname methodparamtypestring/typeparameteroptions/parameter/methodparam /methodsynopsis para
[PHP-DOC] cvs: phpdoc /en/reference/info/functions getopt.xml
hholzgraThu Dec 12 08:16:07 2002 EDT Modified files: /phpdoc/en/reference/info/functions getopt.xml Log: added a note about windows (none-)availability Index: phpdoc/en/reference/info/functions/getopt.xml diff -u phpdoc/en/reference/info/functions/getopt.xml:1.3 phpdoc/en/reference/info/functions/getopt.xml:1.4 --- phpdoc/en/reference/info/functions/getopt.xml:1.3 Wed Oct 30 12:48:48 2002 +++ phpdoc/en/reference/info/functions/getopt.xml Thu Dec 12 08:16:07 2002 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.3 $ -- +!-- $Revision: 1.4 $ -- refentry id=function.getopt refnamediv refnamegetopt/refname @@ -36,6 +36,7 @@ This function will return an array of option / argument pairs. If an option does not have an argument, the value will be set to false;. /para +notesimparaThis function is currently not available on +Windows/simpara/note /refsect1 /refentry -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/info/functions getopt.xml
hholzgraWed Oct 30 12:48:49 2002 EDT Modified files: /phpdoc/en/reference/info/functions getopt.xml Log: longopts didn't work out, but at least it is ini-independant now Index: phpdoc/en/reference/info/functions/getopt.xml diff -u phpdoc/en/reference/info/functions/getopt.xml:1.2 phpdoc/en/reference/info/functions/getopt.xml:1.3 --- phpdoc/en/reference/info/functions/getopt.xml:1.2 Mon Oct 7 11:22:03 2002 +++ phpdoc/en/reference/info/functions/getopt.xml Wed Oct 30 12:48:48 2002 -1,5 +1,5 ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.2 $ -- +!-- $Revision: 1.3 $ -- refentry id=function.getopt refnamediv refnamegetopt/refname -35,12 +35,6 para This function will return an array of option / argument pairs. If an option does not have an argument, the value will be set to false;. - note - para - This function requires that the link linkend=ini.register-argc-argv - register_argc_argv/link configuration option be enabled. - /para - /note /para /refsect1 /refentry -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] cvs: phpdoc /en/reference/info/functions getopt.xml
jon Mon Sep 30 07:53:23 2002 EDT Added files: /phpdoc/en/reference/info/functions getopt.xml Log: Adding initial documentation for the new getopt() function. Index: phpdoc/en/reference/info/functions/getopt.xml +++ phpdoc/en/reference/info/functions/getopt.xml ?xml version=1.0 encoding=iso-8859-1? !-- $Revision: 1.1 $ -- refentry id=function.getopt refnamediv refnamegetopt/refname refpurposeGets options from the command line argument list/refpurpose /refnamediv refsect1 titleDescription/title methodsynopsis typestring/typemethodnamegetopt/methodname methodparamtypestring/typeparameteroptions/parameter/methodparam /methodsynopsis para Returns an associative array of option / argument pairs based on the options format specified in parameteroptions/parameter, or false; on an error. informalexample programlisting ![CDATA[ $options = getopt(f:hp:); // parse the command line ($_GLOBALS['argv']) ]] /programlisting /informalexample /para para The parameteroptions/parameter parameter may contain the following elements: individual characters, and characters followed by a colon to indicate an option argument is to follow. For example, an option string literalx/literal recognizes an option literal-x/literal, and an option string literalx:/literal recognizes an option and argument literal-x argument/literal. It does not matter if an argument has leading white space. /para para This function will return an array of option / argument pairs. If an option does not have an argument, the value will be set to null;. note para This function requires that the link linkend=ini.register-argc-argv register_argc_argv/link configuration option be enabled. /para /note /para /refsect1 /refentry !-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:../../../../manual.ced sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -- -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php