proper php version query