php-src/ext/exif/exif.stub.php
Craig Duncan 743591458c Convert exif functions arginfo to php stubs
We also allow sections needed to be null.
2019-08-26 17:25:12 +02:00

14 lines
418 B
PHP

<?php
/** @return string|false */
function exif_tagname(int $index) {}
/** @return array|false */
function exif_read_data($filename, ?string $sections_needed = null, bool $sub_arrays = false, bool $read_thumbnail = false) {}
/** @return string|false */
function exif_thumbnail($filename, &$width = null, &$height = null, &$imagetype = null) {}
/** @return int|false */
function exif_imagetype(string $filename) {}