Tests whether there is an editor that supports a given mime type or methods.
Parameters
$args
string|arrayoptional- Array of arguments to retrieve the image editor supports.
Default:
array()
Source
* In PHP 8.0, the GD extension uses GdImage objects for its data structures.
* This function checks if the passed value is either a GdImage object instance
* or a resource of type `gd`. Any other type will return false.
Changelog
Version | Description |
---|---|
3.5.0 | Introduced. |
Example: