array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'streamwrapper.stream-tell.php', 1 => 'streamWrapper::stream_tell', 2 => 'Retrieve the current position of a stream', ), 'up' => array ( 0 => 'class.streamwrapper.php', 1 => 'streamWrapper', ), 'prev' => array ( 0 => 'streamwrapper.stream-stat.php', 1 => 'streamWrapper::stream_stat', ), 'next' => array ( 0 => 'streamwrapper.stream-truncate.php', 1 => 'streamWrapper::stream_truncate', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/stream/streamwrapper/stream-tell.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

streamWrapper::stream_tell

(PHP 4 >= 4.3.2, PHP 5, PHP 7, PHP 8)

streamWrapper::stream_tellRetrieve the current position of a stream

说明

public streamWrapper::stream_tell(): int

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

参数

此函数没有参数。

返回值

Should return the current position of the stream.

参见