is_callable

  • (PHP 4 >= 4.0.6, PHP 5, PHP 7)
  • Verify that the contents of a variable can be called as a function