<?php exif_read_data( resource|string $file, ?string $required_sections = null, bool $as_arrays = false, bool $read_thumbnail = false): array|false
<?php $stream = $image->encode('data-url')->encoded; } $data = @exif_read_data($stream); if (!is_null($key) && is_array($data)) { $data = array_key_exists($key, $data) ? $data[$key] : false;