<?php $bar = new stdClass(); function testfunc($foo = null) { $foo->baz = 1; } call_user_func_array('testfunc', array($bar)); print_r($bar);
You have javascript disabled. You will not be able to edit any code.