Quello che chiedi di fare puo' essere fatto solo con PHP5:

function test(&$var = '') {

}