Function __global->stream_get_contents
Definitions
sources_custom/phpstub.php
- Reads remainder of a stream into a string.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: string
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$handle | resource | required parameter | N/A | N/A | A stream resource |
$maxlength | integer | -1 | N/A | N/A | The maximum bytes to read (-1: no limit) |
$offset | integer | -1 | N/A | N/A | Seek to the specified offset before reading. If this number is negative, no seeking will occur and reading will start from the current position |
Return
- Contents
- Type: string
- Set: N/A
- Range: N/A