php-src/ext/exif/exif.stub.php
Máté Kocsis e328c68305
Rename @cname to @cvalue in stubs (#9043)
@cname currently refers to the constant name in C. However, it is not always a (constant) name, but sometimes a function invocation, so naming it as @cvalue would be more appropriate.
2022-07-19 15:11:42 +02:00

30 lines
704 B
PHP

<?php
/** @generate-class-entries */
/**
* @var int
* @cvalue USE_MBSTRING
*/
const EXIF_USE_MBSTRING = UNKNOWN;
/** @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 {}