Core Function
View Source on Trac ↗ read()
read( mixed $handle, mixed $num_bytes ) Reads bytes and advances the stream position by the same count.
Parameters 2 required
| Name / Type | Description |
|---|---|
| $handle stream | Bytes will be read from this resource. Required |
| $num_bytes int | Number of bytes read. Must be greater than 0. Required |
Return Value
(binary)
string|false The raw bytes or false on failure.
Function Information
Source File
wp-includes/class-avif-info.php
Advertisement