public function Stream::ftell

Returns the current position of the file read/write pointer

Return value

int|bool Returns the position of the file pointer or false on error

Overrides StreamInterface::ftell

2 calls to Stream::ftell()
Stream::getSize in drupal/core/vendor/guzzle/stream/Guzzle/Stream/Stream.php
Get the size of the stream if able
Stream::__toString in drupal/core/vendor/guzzle/stream/Guzzle/Stream/Stream.php
Convert the stream to a string if the stream is readable and the stream is seekable.

File

drupal/core/vendor/guzzle/stream/Guzzle/Stream/Stream.php, line 291

Class

Stream
PHP stream implementation

Namespace

Guzzle\Stream

Code

public function ftell() {
  return ftell($this->stream);
}