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/