2024 年日本 PHP 研討會

streamWrapper::stream_set_option

(PHP 5 >= 5.3.0, PHP 7, PHP 8)

streamWrapper::stream_set_option變更資料流選項

說明

public streamWrapper::stream_set_option(int $option, int $arg1, int $arg2): bool

此方法用於設定資料流的選項。

參數

option

其中一個

arg1

如果 option

arg2

如果 option

返回值

成功時返回 true,失敗時返回 false。如果未實作 option,則應返回 false

參見

新增註釋

使用者提供的註釋

此頁面沒有使用者提供的註釋。
To Top