Property | Type | Description | |
---|---|---|---|
$block | boolean | ||
$filename | string | ||
$read | resource | ||
$write | resource |
Method | Description | |
---|---|---|
__construct ( string $filename = '/tmp/simple-fork.pipe', integer $mode = 438, boolean $block = false ) | ||
__destruct ( ) | ||
close ( ) | ||
read ( integer $size = 1024 ) : string | if the stream is blocking, you would better set the value of size, it will not return until the data size is equal to the value of param size | |
remove ( ) | ||
setBlock ( $block = true ) | ||
write ( $message ) : integer |