For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > February 2008 > Patch for list() function









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Patch for list() function
Paul Reinheimer

2008-02-20, 4:22 am

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

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com