On 12 Feb 2012 at 19:01, Stuart Dallas <stuart@xxxxxxxx> wrote: > Optional arguments must be given a default value... > > function my_func(&$arg1, $arg2, $arg3, $arg4 = null, $arg5 = null, &$arg6 = > null) > > Note that passing a default value by reference was not supported prior to > PHP5. > > All the relevant details are here: http://php.net/functions.arguments Thanks, I do see an example now, although it's not stated explicitly. -- Cheers -- Tim
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php