Read from stream. This method is called in response to fread()
and fgets()
.
It is important to avoid reading files that are near to or larger than the amount of memory allocated to PHP, otherwise “out of memory” errors will occur.
Access
public
Parameters
Parameter |
Type |
Required |
Description |
---|---|---|---|
|
Required |
Always equal to 8192. PHP is fun, isn’t it? |
Returns
Type |
Description |
---|---|
The contents of the Amazon S3 object. |
Source
Method defined in extensions/s3streamwrapper.class.php | Toggle source view (47 lines) | View on GitHub