A simple PHP unit converter class.