Get PHP version dynamically