xref: /PHP-8.1/ext/exif/exif.stub.php (revision 50f31829)
1<?php
2
3/** @generate-class-entries */
4
5/** @refcount 1 */
6function exif_tagname(int $index): string|false {}
7
8/**
9 * @param resource|string $file
10 * @return array<string, mixed>|false
11 * @refcount 1
12 */
13function exif_read_data($file, ?string $required_sections = null, bool $as_arrays = false, bool $read_thumbnail = false): array|false {}
14
15/**
16 * @param resource|string $file
17 * @param int $width
18 * @param int $height
19 * @param int $image_type
20 * @refcount 1
21 */
22function exif_thumbnail($file, &$width = null, &$height = null, &$image_type = null): string|false {}
23
24function exif_imagetype(string $filename): int|false {}
25