original_string: public function check()
      {
          $currentValue = (int) ini_get($this->setting);
          
          $return = false;
          foreach($this->requiredValues as $key => $requiredValue){
              $this->requiredValues[$key]['isValid'] = version_compare($currentValue, $requiredValue['requiredValue'], $requiredValue['operator']);
              
              if($this->requiredValues[$key]['isValid']){
                  $return = true;
              }
          }
          
          return $return;
      }
code: public function check()
      {
          $currentValue = (int) ini_get($this->setting);
          
          $return = false;
          foreach($this->requiredValues as $key => $requiredValue){
              $this->requiredValues[$key]['isValid'] = version_compare($currentValue, $requiredValue['requiredValue'], $requiredValue['operator']);
              
              if($this->requiredValues[$key]['isValid']){
                  $return = true;
              }
          }
          
          return $return;
      }
code_tokens: public function check ( ) { $ currentValue = ( int ) ini_get ( $ this -> setting ) ; $ return = false ; foreach ( $ this -> requiredValues as $ key => $ requiredValue ) { $ this -> requiredValues [ $ key ] [ 'isValid' ] = version_compare ( $ currentValue , $ requiredValue [ 'requiredValue' ] , $ requiredValue [ 'operator' ] ) ; if ( $ this -> requiredValues [ $ key ] [ 'isValid' ] ) { $ return = true ; } } return $ return ; }
docstring: Checks required values against php.ini value.
  
  @return bool
docstring_tokens: Checks required values against php . ini value .