How can I check if the function my_function already exists in PHP?
my_function
Using function_exists:
if(function_exists('my_function')){ // my_function is defined }