- var_dump: documentation ( source)
- is_callable: documentation ( source)
<?php
$callable = "Class::czdayshortly";
if (is_callable($callable, FALSE, $text)) {
echo "supr";
} else {
echo "ook"; }
$functionVariable = 'someFunction';
var_dump(is_callable($functionVariable, false, $callable_name));