PHP 8.4.2 Released!

ssh2_send_eof

(PECL ssh2 >= 1.3)

ssh2_send_eofSend EOF to stream

Опис

ssh2_send_eof(resource $channel): bool

Sends an EOF to the stream; this is typically used to close standard input, while keeping output and error alive. For example, one can send a remote process some data over standard input, close it to start processing, and still be able to read out the results without creating additional files.

Параметри

channel

An SSH stream; can be acquired through functions like ssh2_fetch_stream() or ssh2_connect().

Значення, що повертаються

Повертає true у разі успіху або false в разі помилки.

Прогляньте також

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top