Use if (!function_exists('set_magic_quotes_runtime')) { function set_magic_quotes_runtime($new_setting) { return true; } } Fatal error: Uncaught Error: Call to undefined function set_magic_quotes_runtime() in /customers/1/3/6/mrlogic.dk/httpd.www/home15/includes/framework.php:21 Stack trace: #0 /customers/1/3/6/mrlogic.dk/httpd.www/home15/index.php(23): require_once() #1 {main} thrown in /customers/1/3/6/mrlogic.dk/httpd.www/home15/includes/framework.php on line 21