NYCPHP Meetup

NYPHP.org

[nycphp-talk] passing optional arguments by reference

Daniel Convissor danielc at analysisandsolutions.com
Fri Jan 16 13:00:13 EST 2004


On Fri, Jan 16, 2004 at 12:58:19PM -0500, Scott Mattocks wrote:
> 
> Can it be done with some combination of func_num_args and func_get_args?

Maybe.  But it's not worth the overhead in this case.

Dan's workaround of creating the reference ahead of time works.

Thanks,

--Dan

-- 
 T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
            data intensive web and database programming
                http://www.AnalysisAndSolutions.com/
 4015 7th Ave #4, Brooklyn NY 11232  v: 718-854-0335 f: 718-854-0409



More information about the talk mailing list