using function_exists instead of ini_get('disable_functions')