#44885 [Opn]: grouped optional args is no longer supported

From: Date: Thu, 01 May 2008 23:53:13 +0000
Subject: #44885 [Opn]: grouped optional args is no longer supported
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-769@lists.php.net to get a copy of this message
ID: 44885 User updated by: colder@php.net -Summary: linked optional args is no longer supported Reported By: colder@php.net Status: Open Bug Type: Doc Build problem Operating System: Irrelevant PHP Version: Irrelevant New Comment: title made no sense Previous Comments: ------------------------------------------------------------------------ [2008-05-01 23:27:17] cellog@php.net correct is: <methodparam choice="opt"><type>int</type><parameter>min</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>max</parameter></methodparam> ------------------------------------------------------------------------ [2008-05-01 21:41:27] colder@php.net Description: ------------ php.net/rand The proto is : rand([min, max]); xml is : <methodparam choice="opt"><type>int</type><parameter>min</parameter></methodparam> <methodparam><type>int</type><parameter>max</parameter></methodparam> With PhD, it ends up being: int rand ([ int $min ], int $max ) So, either 1) the renderer don't handle groups of optional args anymore, or 2) there is a new syntax to group optional args together and the xml should be fixed. Regards ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=44885&edit=1

« previous php.doc.bugs (#769) next »