<? function foo(){ return; } echo "Any text and result of function ".foo()." here"; ?>
я не програмист но кажется это делается через снипет