original_string: public function current()
      {
          if ($this->valid()) {
              $key = $this->baseArrayMap[$this->iteratorIterationPosition];
              $value = $this->baseConcreteData[$key];
              return $this->internalFilterHooks($key, $value, 'output') ?
                  $this->internalSanitizeHooks($key, $value, 'output') : null;
          }
      }
code: public function current()
      {
          if ($this->valid()) {
              $key = $this->baseArrayMap[$this->iteratorIterationPosition];
              $value = $this->baseConcreteData[$key];
              return $this->internalFilterHooks($key, $value, 'output') ?
                  $this->internalSanitizeHooks($key, $value, 'output') : null;
          }
      }
code_tokens: public function current ( ) { if ( $ this -> valid ( ) ) { $ key = $ this -> baseArrayMap [ $ this -> iteratorIterationPosition ] ; $ value = $ this -> baseConcreteData [ $ key ] ; return $ this -> internalFilterHooks ( $ key , $ value , 'output' ) ? $ this -> internalSanitizeHooks ( $ key , $ value , 'output' ) : null ; } }
docstring: this is necessary for Iterator Interface and return current element
  @return mixed current element or null
docstring_tokens: this is necessary for Iterator Interface and return current element