<?phperror_reporting(-1);function f3(&$param) { echo 'f3'; if ($param === null) { $param = 'tcp'; }}function f4() { echo 'f4 '; f3($param);}f4();