<?php function mifuncion() { $var1="hola "; $var2="mundo"; return $var1 . $var2; } echo mifuncion(); ?>