I would like to have an optional pass-by-reference. i.e. you can call the function w/o the variable. Basically, like how you don't need to pass $matches to the preg_match function. I've tried, function some_func(&$var = null) and this doesn't work. func_get_args only gets copies, does anyone have any other solutions? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php