Updated php version check