프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$buffers | array | Buffer hash | |
$canRegisterWrapper | |||
$name | string | Buffer name | |
$position | integer | Stream position |
메소드 | 설명 | |
---|---|---|
canRegisterWrapper ( ) : boolean | Should I register the fof:// stream wrapper | |
stream_eof ( ) : boolean | Function to test for end of file pointer | |
stream_open ( string $path, string $mode, integer $options, &$opened_path ) : boolean | Function to open file or url | |
stream_read ( integer $count ) : mixed | Read stream | |
stream_seek ( integer $offset, integer $whence ) : boolean | The read write position updates in response to $offset and $whence | |
stream_stat ( ) | ||
stream_tell ( ) : integer | Function to get the current position of the stream | |
stream_write ( string $data ) : integer | Write stream | |
unlink ( $path ) |
public static canRegisterWrapper ( ) : boolean | ||
리턴 | boolean | True if the stream wrapper can be registered |
public stream_eof ( ) : boolean | ||
리턴 | boolean | True if the pointer is at the end of the stream |
public stream_read ( integer $count ) : mixed | ||
$count | integer | How many bytes of data from the current position should be returned. |
리턴 | mixed | The data from the stream up to the specified number of bytes (all data if the total number of bytes in the stream is less than $count. Null if the stream is empty. |
public stream_tell ( ) : integer | ||
리턴 | integer |
public stream_write ( string $data ) : integer | ||
$data | string | The data to write to the stream. |
리턴 | integer |