original_string: public function incrementLoopIndices()
      {
          $loop = $this->loopsStack[$index = count($this->loopsStack) - 1];
  
          $this->loopsStack[$index] = array_merge($this->loopsStack[$index], [
              'iteration' => $loop['iteration'] + 1,
              'index'     => $loop['iteration'],
              'first'     => $loop['iteration'] === 0,
              'remaining' => isset($loop['count']) ? $loop['remaining'] - 1 : null,
              'last'      => isset($loop['count']) ? $loop['iteration'] === $loop['count'] - 1 : null,
          ]);
      }
code: public function incrementLoopIndices()
      {
          $loop = $this->loopsStack[$index = count($this->loopsStack) - 1];
  
          $this->loopsStack[$index] = array_merge($this->loopsStack[$index], [
              'iteration' => $loop['iteration'] + 1,
              'index'     => $loop['iteration'],
              'first'     => $loop['iteration'] === 0,
              'remaining' => isset($loop['count']) ? $loop['remaining'] - 1 : null,
              'last'      => isset($loop['count']) ? $loop['iteration'] === $loop['count'] - 1 : null,
          ]);
      }
code_tokens: public function incrementLoopIndices ( ) { $ loop = $ this -> loopsStack [ $ index = count ( $ this -> loopsStack ) - 1 ] ; $ this -> loopsStack [ $ index ] = array_merge ( $ this -> loopsStack [ $ index ] , [ 'iteration' => $ loop [ 'iteration' ] + 1 , 'index' => $ loop [ 'iteration' ] , 'first' => $ loop [ 'iteration' ] === 0 , 'remaining' => isset ( $ loop [ 'count' ] ) ? $ loop [ 'remaining' ] - 1 : null , 'last' => isset ( $ loop [ 'count' ] ) ? $ loop [ 'iteration' ] === $ loop [ 'count' ] - 1 : null , ] ) ; }
docstring: Increment the top loop's indices.
  
  @return void
docstring_tokens: Increment the top loop s indices .