error_reporting() and ensure_dir_exists