original_string: protected function _comparator($dataOrigin, $dataCheck, $operator)
      {
          switch ($operator) {
              case '===':
                  return $dataOrigin === $dataCheck;
              // no break, always will return boolean value
  
              case '!==':
                  return $dataOrigin !== $dataCheck;
              // no break, always will return boolean value
  
              case '==':
                  return $dataOrigin == $dataCheck;
              // no break, always will return boolean value
  
              case '!=':
              case '<>':
                  return $dataOrigin != $dataCheck;
              // no break, always will return boolean value
  
              case '<':
                  return $dataOrigin < $dataCheck;
              // no break, always will return boolean value
  
              case '>':
                  return $dataOrigin > $dataCheck;
              // no break, always will return boolean value
  
              case '<=':
                  return $dataOrigin <= $dataCheck;
              // no break, always will return boolean value
  
              case '>=':
                  return $dataOrigin >= $dataCheck;
              // no break, always will return boolean value
  
              default:
                  return null;
              // no break, always will return boolean value
          }
      }
code: protected function _comparator($dataOrigin, $dataCheck, $operator)
      {
          switch ($operator) {
              case '===':
                  return $dataOrigin === $dataCheck;
              // no break, always will return boolean value
  
              case '!==':
                  return $dataOrigin !== $dataCheck;
              // no break, always will return boolean value
  
              case '==':
                  return $dataOrigin == $dataCheck;
              // no break, always will return boolean value
  
              case '!=':
              case '<>':
                  return $dataOrigin != $dataCheck;
              // no break, always will return boolean value
  
              case '<':
                  return $dataOrigin < $dataCheck;
              // no break, always will return boolean value
  
              case '>':
                  return $dataOrigin > $dataCheck;
              // no break, always will return boolean value
  
              case '<=':
                  return $dataOrigin <= $dataCheck;
              // no break, always will return boolean value
  
              case '>=':
                  return $dataOrigin >= $dataCheck;
              // no break, always will return boolean value
  
              default:
                  return null;
              // no break, always will return boolean value
          }
      }
code_tokens: protected function _comparator ( $ dataOrigin , $ dataCheck , $ operator ) { switch ( $ operator ) { case '===' : return $ dataOrigin === $ dataCheck ; // no break, always will return boolean value case '!==' : return $ dataOrigin !== $ dataCheck ; // no break, always will return boolean value case '==' : return $ dataOrigin == $ dataCheck ; // no break, always will return boolean value case '!=' : case '<>' : return $ dataOrigin != $ dataCheck ; // no break, always will return boolean value case '<' : return $ dataOrigin < $ dataCheck ; // no break, always will return boolean value case '>' : return $ dataOrigin > $ dataCheck ; // no break, always will return boolean value case '<=' : return $ dataOrigin <= $ dataCheck ; // no break, always will return boolean value case '>=' : return $ dataOrigin >= $ dataCheck ; // no break, always will return boolean value default : return null ; // no break, always will return boolean value } }
docstring: allow to compare data with given operator
  
  @param mixed $dataOrigin
  @param mixed $dataCheck
  @param string $operator
  @return bool|null
docstring_tokens: allow to compare data with given operator