<?php function foo() { echo "In foo()<br>\n"; } function bar( $arg = " ) { echo "In bar(); argument was '$arg'.<br>\n"; } $func = 'foo'; $func(); $func = 'bar'; $func( 'test' ); ?>