-------------------------------- Source: Darren's Outpost - http://ahkuan.com from entry - http://ahkuan.com/weblog/archive/2005/10/16/php-passing-by-reference.html this code fragment itself - http://ahkuan.com/weblog/20/code/2.html -------------------------------- --------------- code fragment begin --------------- // This won't work in PHP < 5 function foo(&$bar = 'default value here'){ ... };