Re: Re: cvs: phpdoc /en/reference/array/functions natsort.xml
| From: | Friedhelm Betz | Date: | Mon, 02 Aug 2004 00:27:41 +0000 |
| Subject: | Re: Re: cvs: phpdoc /en/reference/array/functions natsort.xml | ||
| References: | 1 2 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969362462@lists.php.net to get a copy of this message | ||
On Monday 02 August 2004 01:33, M. Sokolewicz wrote:
> Maciek Sokolewicz wrote:
> > tularis Sun Aug 1 19:20:42 2004 EDT
> >
> > Modified files:
> > /phpdoc/en/reference/array/functions natsort.xml
> > Log:
> > added the & to the parameter to make it clear(er) that this parameter
> > is passed by reference
>
> I think this should be done in more places...
No, please not;-)
> the http://www.php.net/manual/en/function.natcasesort.php way,
> which
> just mentions it in the description,
Could not see that;-)
> and the http://www.php.net/manual/en/function.dns-get-mx.php
> sort of
> way, which also mentions it in the actual synopsis, and which I've
> changed natsort to.
The proto for dns_get_mx from the manual is just wrong.
> I think we should convert all to the 2nd type, it's just clearer...!
> any comments?:)
No, because the function definitions make sure which arguments are passed by
reference. There is no need to even know this sort of information.
Friedhelm
--
http://www.jungle-world.com/