Function __global->imagesx
Definitions
sources_custom/phpstub.php
- Get image width.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: int
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $image | resource | No | No | required parameter | N/A | N/A | The image handle |
Returns
- The image width
- Type: integer
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Get image width.
*
* @param resource $image The image handle
* @return integer The image width
*/
function imagesx($image) : int
* Get image width.
*
* @param resource $image The image handle
* @return integer The image width
*/
function imagesx($image) : int

