In PHP, how do I check if a function exists? March 31, 2023 by Tarik Using function_exists: if(function_exists('my_function')){ // my_function is defined }