<?php private function doOpreration(string $condition): bool|string|int {
$operators = ['\={3}', '\={2}', '\!\={2}', '\!\={1}', '\<\=\>', '\>\=', '\<\=', '\<\>', '\>', '\<', '%', '&{2}', '\|{2}', 'xor', 'and', 'or'];
if (preg_match('/.+\s*(' . implode('|', $operators) . ')\s*.+/U', $condition, $matches)) {
$a_and_b = explode($matches[1], $condition);
$a = trim($this->getCore()->render($a_and_b[0]));
$b = trim($this->getCore()->render($a_and_b[1]));