← All docs

exif_thumbnail()

Implemented by the compiler-injected image prelude.

exif_thumbnail()

function exif_thumbnail(string $filename, mixed $width = 0, mixed $height = 0, mixed $image_type = 0): mixed

Implemented by the compiler-injected image prelude.

Parameters:

  • $filename (string)
  • $width (mixed), passed by reference, default 0, optional
  • $height (mixed), passed by reference, default 0, optional
  • $image_type (mixed), passed by reference, default 0, optional

Returns: mixed

Availability

  • Compiled (AOT): supported through the compiler-injected image prelude.
  • eval() (magician interpreter): not available inside eval’d code.

No examples yet — check examples/ and showcases/ for usage patterns.

Internals

For how exif_thumbnail is implemented in the compiler, see the internals page.