Simple Php DataType Class for version string