function PhpStreamWrapperInterface::stream_tell

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/StreamWrapper/PhpStreamWrapperInterface.php \Drupal\Core\StreamWrapper\PhpStreamWrapperInterface::stream_tell()
  2. 10 core/lib/Drupal/Core/StreamWrapper/PhpStreamWrapperInterface.php \Drupal\Core\StreamWrapper\PhpStreamWrapperInterface::stream_tell()
  3. 11.x core/lib/Drupal/Core/StreamWrapper/PhpStreamWrapperInterface.php \Drupal\Core\StreamWrapper\PhpStreamWrapperInterface::stream_tell()

Retrieve the current position of a stream.

This method is called in response to fseek() to determine the current position.

Return value

int Should return the current position of the stream.

See also

PhpStreamWrapperInterface::stream_tell()

http://php.net/manual/en/streamwrapper.stream-tell.php

2 methods override PhpStreamWrapperInterface::stream_tell()
DummyExternalReadOnlyWrapper::stream_tell in core/modules/file/tests/file_test/src/StreamWrapper/DummyExternalReadOnlyWrapper.php
Retrieve the current position of a stream.
LocalStream::stream_tell in core/lib/Drupal/Core/StreamWrapper/LocalStream.php
Retrieve the current position of a stream.

File

core/lib/Drupal/Core/StreamWrapper/PhpStreamWrapperInterface.php, line 435

Class

PhpStreamWrapperInterface
Defines a generic PHP stream wrapper interface.

Namespace

Drupal\Core\StreamWrapper

Code

public function stream_tell();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.