is_callable

PHP 4 >= 4.0.6, PHP 5, PHP 7, PHP 8
is_callable - Verify that a value can be called as a function from the current scope.
Manual
Code Examples

Example #1 is_callable example

PHP Version:

Example #2 is_callable and constructors

Result: bool(false) bool(false)
PHP Version: