���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home3/cpr76684/public_html/Aem/lib/mlbackend/php/phpml/src/Phpml/Math/Comparison.php
���ѧ٧ѧ�
<?php declare(strict_types=1); namespace Phpml\Math; use Phpml\Exception\InvalidArgumentException; class Comparison { /** * @param mixed $a * @param mixed $b * * @throws InvalidArgumentException */ public static function compare($a, $b, string $operator): bool { switch ($operator) { case '>': return $a > $b; case '>=': return $a >= $b; case '=': case '==': return $a == $b; case '===': return $a === $b; case '<=': return $a <= $b; case '<': return $a < $b; case '!=': case '<>': return $a != $b; case '!==': return $a !== $b; default: throw new InvalidArgumentException(sprintf('Invalid operator "%s" provided', $operator)); } } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | ���֧ߧ֧�ѧ�ڧ� ����ѧߧڧ��: 0 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�