$el_nombre_de_mivariable = $hora."_".$num;echo $$elnombre_de_mivariable
function myfunc(){echo 'has llamado a myfunc()';}$f = 'myfunc';$f();