Hoa central
Stream.php
Go to the documentation of this file.
1 <?php
2 
38 
47 interface Stream
48 {
58  public function stream_cast($castAs);
59 
68  public function stream_close();
69 
76  public function stream_eof();
77 
86  public function stream_flush();
87 
103  public function stream_lock($operation);
104 
122  public function stream_metadata($path, $option, $value);
123 
151  public function stream_open($path, $mode, $options, &$openedPath);
152 
161  public function stream_read($count);
162 
179  public function stream_seek($offset, $whence = SEEK_SET);
180 
212  public function stream_set_option($option, $arg1, $arg2);
213 
220  public function stream_stat();
221 
228  public function stream_tell();
229 
236  public function stream_truncate($size);
237 
245  public function stream_write($data);
246 }
stream_set_option($option, $arg1, $arg2)
stream_metadata($path, $option, $value)
stream_seek($offset, $whence=SEEK_SET)
stream_open($path, $mode, $options, &$openedPath)