original_string: public function current() {
  
          if (!$this->recordset->valid()) {
              return false;
          }
  
          if (!$record = $this->recordset->current()) {
              return false;
          }
  
          // Apply callback and return.
          if (!is_null($this->callbackextra)) {
              return call_user_func($this->callback, $record, $this->callbackextra);
          } else {
              return call_user_func($this->callback, $record);
          }
      }
code: public function current() {
  
          if (!$this->recordset->valid()) {
              return false;
          }
  
          if (!$record = $this->recordset->current()) {
              return false;
          }
  
          // Apply callback and return.
          if (!is_null($this->callbackextra)) {
              return call_user_func($this->callback, $record, $this->callbackextra);
          } else {
              return call_user_func($this->callback, $record);
          }
      }
code_tokens: public function current ( ) { if ( ! $ this -> recordset -> valid ( ) ) { return false ; } if ( ! $ record = $ this -> recordset -> current ( ) ) { return false ; } // Apply callback and return. if ( ! is_null ( $ this -> callbackextra ) ) { return call_user_func ( $ this -> callback , $ record , $ this -> callbackextra ) ; } else { return call_user_func ( $ this -> callback , $ record ) ; } }
docstring: Returns the current element after applying the callback.
  
  @return mixed|bool The returned value type will depend on the callback.
docstring_tokens: Returns the current element after applying the callback .