php-src/ext/exif/exif.stub.php
Máté Kocsis 50f31829b1
Generate optimizer func info from stubs for a few extensions - part 2 (#7401)
ext/bcmath, ext/fileinfo, ext/filter, ext/gettext, ext/session
2021-08-25 15:29:46 +02:00

24 lines
624 B
PHP

<?php
/** @generate-class-entries */
/** @refcount 1 */
function exif_tagname(int $index): string|false {}
/**
* @param resource|string $file
* @return array<string, mixed>|false
* @refcount 1
*/
function exif_read_data($file, ?string $required_sections = null, bool $as_arrays = false, bool $read_thumbnail = false): array|false {}
/**
* @param resource|string $file
* @param int $width
* @param int $height
* @param int $image_type
* @refcount 1
*/
function exif_thumbnail($file, &$width = null, &$height = null, &$image_type = null): string|false {}
function exif_imagetype(string $filename): int|false {}