original_string: protected function processIni(Exception $exception)
      {
          $message = $exception->getMessage();
  
          /*
           * Expecting: syntax error, unexpected '!' in Unknown on line 4
           */
          if (!starts_with($message, 'syntax error')) {
              return false;
          }
          if (strpos($message, 'Unknown') === false) {
              return false;
          }
          if (strpos($exception->getFile(), 'Ini.php') === false) {
              return false;
          }
  
          /*
           * Line number from parse_ini_string() error.
           * The last word should contain the line number.
           */
          $parts = explode(' ', $message);
          $line = array_pop($parts);
          $this->line = (int)$line;
  
          // Find where the ini settings section begins
          $offsetArray = SectionParser::parseOffset($this->compoundObject->getContent());
          $this->line += $offsetArray['settings'];
  
          $this->message = $message;
  
          // Account for line 0
          $this->line--;
  
          return true;
      }
code: protected function processIni(Exception $exception)
      {
          $message = $exception->getMessage();
  
          /*
           * Expecting: syntax error, unexpected '!' in Unknown on line 4
           */
          if (!starts_with($message, 'syntax error')) {
              return false;
          }
          if (strpos($message, 'Unknown') === false) {
              return false;
          }
          if (strpos($exception->getFile(), 'Ini.php') === false) {
              return false;
          }
  
          /*
           * Line number from parse_ini_string() error.
           * The last word should contain the line number.
           */
          $parts = explode(' ', $message);
          $line = array_pop($parts);
          $this->line = (int)$line;
  
          // Find where the ini settings section begins
          $offsetArray = SectionParser::parseOffset($this->compoundObject->getContent());
          $this->line += $offsetArray['settings'];
  
          $this->message = $message;
  
          // Account for line 0
          $this->line--;
  
          return true;
      }
code_tokens: protected function processIni ( Exception $ exception ) { $ message = $ exception -> getMessage ( ) ; /*
           * Expecting: syntax error, unexpected '!' in Unknown on line 4
           */ if ( ! starts_with ( $ message , 'syntax error' ) ) { return false ; } if ( strpos ( $ message , 'Unknown' ) === false ) { return false ; } if ( strpos ( $ exception -> getFile ( ) , 'Ini.php' ) === false ) { return false ; } /*
           * Line number from parse_ini_string() error.
           * The last word should contain the line number.
           */ $ parts = explode ( ' ' , $ message ) ; $ line = array_pop ( $ parts ) ; $ this -> line = ( int ) $ line ; // Find where the ini settings section begins $ offsetArray = SectionParser :: parseOffset ( $ this -> compoundObject -> getContent ( ) ) ; $ this -> line += $ offsetArray [ 'settings' ] ; $ this -> message = $ message ; // Account for line 0 $ this -> line -- ; return true ; }
docstring: Override properties of an exception specific to the INI section
  of a CMS object.
  @param \Exception $exception The exception to modify.
  @return bool
docstring_tokens: Override properties of an exception specific to the INI section of a CMS object .