1<?php
2var_dump(version_compare('1.2', '2.1', '??'));
3