svn: /phpdoc/en/trunk/reference/info/functions/ getopt.xml

From: Date: Wed, 16 Dec 2009 22:40:17 +0000
Subject: svn: /phpdoc/en/trunk/reference/info/functions/ getopt.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-5673@lists.php.net to get a copy of this message
seld Wed, 16 Dec 2009 22:40:17 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=292224 Log: Adds a note about unknown parameters ending getopt() parsing, fixes bug #43313 Bug: http://bugs.php.net/43313 (To be documented) getopt() doesn't handle unknown parameters Changed paths: U phpdoc/en/trunk/reference/info/functions/getopt.xml Modified: phpdoc/en/trunk/reference/info/functions/getopt.xml =================================================================== --- phpdoc/en/trunk/reference/info/functions/getopt.xml 2009-12-16 21:33:20 UTC (rev 292223) +++ phpdoc/en/trunk/reference/info/functions/getopt.xml 2009-12-16 22:40:17 UTC (rev 292224) @@ -5,7 +5,7 @@ <refname>getopt</refname> <refpurpose>Gets options from the command line argument list</refpurpose> </refnamediv> - + <refsect1 role="description"> &reftitle.description; <methodsynopsis> @@ -93,6 +93,12 @@ This function will return an array of option / argument pairs or &false; on failure. </para> + <note> + <para> + The parsing of options will end at the first non-option found, anything + that follows is discarded. + </para> + </note> </refsect1> <refsect1 role="changelog">

« previous php.doc.cvs (#5673) next »