You can do this with call_user_func... although it can be a little silly if you can just assign it to a variable and subsequently call that variable.
call_user_func(function(){ echo "bar"; });
You might think that PHP 5.4 with its dereferencing capabilities will make this possible. However, you are mistaken (both on RC6, anyway).
source
share