eio_write
eio_write
Write to file
resource **eio_write** mixed $fd string $str int $length int $offset int $pri callable $callback mixed $data
writes up to
bytes from at
offset from the beginning of the file.
eio_write``length``str``offset
fd
Stream, Socket resource, or numeric file descriptor, e.g. returned by
eio_open
strSource string
lengthMaximum number of bytes to write.
offsetOffset from the beginning of file.
pri``callback``data
Arbitrary variable passed to .
callback
returns request resource on success,return.falseforfailure.
eio_write
eio_open