Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

is_gd_image()

3 tags 1 category

is_gd_image() — Determines whether the value is an acceptable type for GD image functions. 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.

Inputs: $image (resource|GdImage|false): A value to check the type for.

Returns bool: True if $image is either a GD image resource or a GdImage instance, false otherwise.

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…