I am working on a project, in which I am using a deprecated function from the older version. But don\'t want my script to stop if used in the older version.
When used in class context, is_callable returns true for class methods that are accessible ie public methods but method_exists returns true for all methods - public, protected and private. function_exists does same thing as method_exists outside class contexts.