Making minimum php version protected