Corrected phpversion get regex.