# Imagick::getOption

(No version information available, might be only in CVS)

Imagick::getOption — Returns a value associated with the specified key

### Description

string Imagick::getOption ( string `$key` )
Warning

This function is currently not documented; only the argument list is available.

Warning

This function is EXPERIMENTAL. The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP. Use this function at your own risk.

Returns a value associated with a wand and the specified key.

### Parameters

`key`

### Return Values

Returns a value associated with a wand and the specified key, throwing ImagickException on error.