How can I execute an anonymous function? Pradeep Maurya 8 years ago call_user_func(function() { echo ‘anonymous function called.’; });