Move fatal PHP functions checks to initialization