Function __global->getimagesize
Definitions
sources_custom/phpstub.php
- Get the size of an image.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: N/A
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$filename | PATH | required parameter | N/A | N/A | Filename |
$image_info | ?array | Null | N/A | N/A | Extra details will be put here (null: return-only). Note that this is actually passed by reference, but is also optional. |
Return
- List of details: $width, $height, $type, $attr (false: error)
- Type: ~array
- Set: N/A
- Range: N/A