|
streamWrapper::stream_readRead from stream Description
public string streamWrapper::stream_read
( int
$count
)This method is called in response to fread and fgets.
Parameters
Return Values
If there are less than Errors/ExceptionsEmits
Notes
Warning
When reading the whole file (for example, with file_get_contents), PHP will call streamWrapper::stream_read followed by streamWrapper::stream_eof in a loop but as long as streamWrapper::stream_read returns a non-empty string, the return value of streamWrapper::stream_eof is ignored. See Also
|