ftell
reactphp/event-loop
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Returns the current position of the file read/write pointer
ftell
(
resource $stream
):
int
|
false
if (
\DIRECTORY_SEPARATOR
===
'\\'
) {
$except
= array();
foreach (
$write
as
$key
=>
$socket
) {
if (!isset(
$read
[
$key
]) && @
\ftell
(
$socket
) ===
0
) {
$except
[
$key
] =
$socket
;
}
}
src/StreamSelectLoop.php