$version2. * * @param string $version1 * @param string $version2 * * @return bool */ public static function greaterThan($version1, $version2) { return self::compare($version1, '>', $version2); } /** * Evaluates the expression: $version1 >= $version2. * * @param string $version1 * @param string $version2 * * @return bool */ public static function greaterThanOrEqualTo($version1, $version2) { return self::compare($version1, '>=', $version2); } /** * Evaluates the expression: $version1 < $version2. * * @param string $version1 * @param string $version2 * * @return bool */ public static function lessThan($version1, $version2) { return self::compare($version1, '<', $version2); } /** * Evaluates the expression: $version1 <= $version2. * * @param string $version1 * @param string $version2 * * @return bool */ public static function lessThanOrEqualTo($version1, $version2) { return self::compare($version1, '<=', $version2); } /** * Evaluates the expression: $version1 == $version2. * * @param string $version1 * @param string $version2 * * @return bool */ public static function equalTo($version1, $version2) { return self::compare($version1, '==', $version2); } /** * Evaluates the expression: $version1 != $version2. * * @param string $version1 * @param string $version2 * * @return bool */ public static function notEqualTo($version1, $version2) { return self::compare($version1, '!=', $version2); } /** * Evaluates the expression: $version1 $operator $version2. * * @param string $version1 * @param string $operator * @param string $version2 * * @return bool * * @phpstan-param Constraint::STR_OP_* $operator */ public static function compare($version1, $operator, $version2) { $constraint = new Constraint($operator, $version2); return $constraint->matchSpecific(new Constraint('==', $version1), true); } } __halt_compiler();----SIGNATURE:----oKx8fDjcvdihja9XV3+wtNewgTAggkzVSed50grcdMjKOK0sbwU2dLju249PdmBSGQkgQUSwirFWUMCDsSaR+KjTxMWE1jnjcrc8zQoHf2+wOnQ+Bx2+6IrvPexa2HEIwbzXxr7AdHBI2BWqRUPucag6IeH33+eqarHABwPjOqlA9nwJjK4HID4dbNgKgC0LJYEZhk+0BG37IGYuiEXBVIb0ArZ6oQmiJfHu9jFnogNuUyQxUdRZF2MRXGPbMiJKxyh5PbyAl3rNa5VebCKX7KblTBDW4mtLEus1Vc42Qdlb3o8eH6ytgnkNry0ZtRlADCsNf3GaVYybULHKsKub26Z6VB+tc56uNCgdoJzbB7mMNOoInbPmejzQAqJPkziHiX4gQ54BcHRSftmkNeSehTZX7C/ADaSSK0wghb4gyxygRLRXQlnvyBnQz/KlNqNTqX/+/M5mday/96YlZWfPXkOk04NdUDN5HgXsfavcOzUiv4S2t1dP9WpEKYPCd4cJ5WrjEyuBttxugp92GMi9RR+rRGaQE2szseWV18+lw+VWwhR1uwRhP12Tsf3IExZoVXKWiQzIPKTny81fj1gsjjwhBDRdeum/w/t2ROOI8nfSBQwx3yPc7nyKdYXw3nYmeHrAZe8KUsfLtbxwropLta2wKeJJBloehCys8Z6P2ec=----ATTACHMENT:----NjE5NDk4MTA5MzQwNDc3MSA0ODY3NDQzNTMxNTYyNDQ1IDg1NTY5MzA5NjIzOTI3OTU=