Patch for list() function
| From: | Paul Reinheimer | Date: | Wed, 20 Feb 2008 05:32:29 +0000 |
| Subject: | Patch for list() function | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969378603@lists.php.net to get a copy of this message | ||
Hey all,
I'm still trying to get my doc setup all repaired, so I haven't been able to
check this one, thoughts?
paul-reinheimers-macbook-pro-15:functions paulreinheimer$ cvs diff
./list.xml
Index: list.xml
===================================================================
RCS file: /repository/phpdoc/en/reference/array/functions/list.xml,v
retrieving revision 1.18
diff -r1.18 list.xml
13c13
< <methodparam
rep="repeat"><type>mixed</type><parameter>...</parameter></methodparam>
---
> <methodparam rep="repeat"
choice="opt"><type>mixed</type><parameter>...</parameter></methodparam>
Short version, you can invoke list with a single parameter, which while
silly, makes the current docs
incorrect.
paul
p.s. I'm back :)
--
Paul Reinheimer
Zend Certified Engineer