Skip to content

Instantly share code, notes, and snippets.

@Anye Anye/func define
Created Aug 25, 2014

What would you like to do?
php get function defination
function get_func_define($function_name)
$reflFunc = new ReflectionFunction($function_name);
return array(
'line'=> $reflFunc->getStartLine(),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.