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