Using a variable function determined by some input variable
<? function italian() { print "italian."; } function english() { print "english."; } $language = "italian"; $language(); ?>