/opt/cpanel/ea-php85/root/usr/include/php/ext/standard
NameSizeModeActions
base64.h40130644editdlrm
basic_functions.h45860644editdlrm
basic_functions_arginfo.h1740990644editdlrm
crc32.h49160644editdlrm
crc32_x86.h18820644editdlrm
credits.h15620644editdlrm
credits_ext.h52240644editdlrm
credits_sapi.h8310644editdlrm
crypt_blowfish.h7900644editdlrm
crypt_freesec.h5840644editdlrm
css.h10700644editdlrm
dir_arginfo.h33980644editdlrm
dl.h14970644editdlrm
dl_arginfo.h2700644editdlrm
exec.h13380644editdlrm
file.h41170644editdlrm
file_arginfo.h98760644editdlrm
flock_compat.h19030644editdlrm
fsock.h12470644editdlrm
head.h16340644editdlrm
html.h24190644editdlrm
html_tables.h4835970644editdlrm
info.h234340644editdlrm
md5.h20250644editdlrm
pageinfo.h11800644editdlrm
password_arginfo.h10310644editdlrm
php_array.h28650644editdlrm
php_assert.h13820644editdlrm
php_browscap.h11350644editdlrm
php_crypt.h14930644editdlrm
php_crypt_r.h16790644editdlrm
php_dir.h12410644editdlrm
php_dir_int.h10570644editdlrm
php_dns.h36530644editdlrm
php_ext_syslog.h11930644editdlrm
php_filestat.h21550644editdlrm
php_fopen_wrappers.h18370644editdlrm
php_http.h13490644editdlrm
php_image.h30930644editdlrm
php_incomplete_class.h22020644editdlrm
php_mail.h12810644editdlrm
php_math.h33850644editdlrm
php_math_round_mode.h19760644editdlrm
php_net.h11630644editdlrm
php_password.h28780644editdlrm
php_standard.h18520644editdlrm
php_string.h39410644editdlrm
php_uuencode.h12050644editdlrm
php_var.h34970644editdlrm
php_versioning.h12110644editdlrm
proc_open.h19420644editdlrm
quot_print.h12550644editdlrm
scanf.h19970644editdlrm
sha1.h16200644editdlrm
streamsfuncs.h11370644editdlrm
url.h23240644editdlrm
url_scanner_ex.h24240644editdlrm
user_filters_arginfo.h49000644editdlrm
Edit: /opt/cpanel/ea-php85/root/usr/include/php/ext/standard/php_image.h (3093B)
/* +----------------------------------------------------------------------+ | Copyright (c) The PHP Group | +----------------------------------------------------------------------+ | This source file is subject to version 3.01 of the PHP license, | | that is bundled with this package in the file LICENSE, and is | | available through the world-wide-web at the following url: | | https://www.php.net/license/3_01.txt | | If you did not receive a copy of the PHP license and are unable to | | obtain it through the world-wide-web, please send a note to | | license@php.net so we can mail you a copy immediately. | +----------------------------------------------------------------------+ | Authors: Rasmus Lerdorf | | Marcus Boerger | +----------------------------------------------------------------------+ */ #ifndef PHP_IMAGE_H #define PHP_IMAGE_H PHP_MINIT_FUNCTION(image); PHP_MSHUTDOWN_FUNCTION(image); /* {{{ enum image_filetype This enum is used to have ext/standard/image.c and ext/exif/exif.c use the same constants for file types. */ typedef enum { IMAGE_FILETYPE_UNKNOWN=0, IMAGE_FILETYPE_GIF=1, IMAGE_FILETYPE_JPEG, IMAGE_FILETYPE_PNG, IMAGE_FILETYPE_SWF, IMAGE_FILETYPE_PSD, IMAGE_FILETYPE_BMP, IMAGE_FILETYPE_TIFF_II, /* intel */ IMAGE_FILETYPE_TIFF_MM, /* motorola */ IMAGE_FILETYPE_JPC, IMAGE_FILETYPE_JP2, IMAGE_FILETYPE_JPX, IMAGE_FILETYPE_JB2, IMAGE_FILETYPE_SWC, IMAGE_FILETYPE_IFF, IMAGE_FILETYPE_WBMP, /* IMAGE_FILETYPE_JPEG2000 is a userland alias for IMAGE_FILETYPE_JPC */ IMAGE_FILETYPE_XBM, IMAGE_FILETYPE_ICO, IMAGE_FILETYPE_WEBP, IMAGE_FILETYPE_AVIF, IMAGE_FILETYPE_HEIF, /* WHEN EXTENDING: PLEASE ALSO REGISTER IN basic_function.stub.php */ IMAGE_FILETYPE_FIXED_COUNT } image_filetype; /* }}} */ PHPAPI int php_getimagetype(php_stream *stream, const char *input, char *filetype); PHPAPI const char * php_image_type_to_mime_type(int image_type); PHPAPI bool php_is_image_avif(php_stream *stream); /* return info as a struct, to make expansion easier */ struct php_gfxinfo { unsigned int width; unsigned int height; zend_string *width_unit; zend_string *height_unit; unsigned int bits; unsigned int channels; }; typedef zend_result (*php_image_identify)(php_stream *stream); typedef struct php_gfxinfo *(*php_image_get_info)(php_stream *stream); struct php_image_handler { const char *mime_type; const char *extension; const char *const_name; php_image_identify identify; php_image_get_info get_info; }; #define PHP_IMAGE_CONST_NAME(suffix) ("IMAGETYPE_" suffix) /* This should only be called on module init */ PHPAPI int php_image_register_handler(const struct php_image_handler *handler); /* This should only be called on module shutdown */ PHPAPI zend_result php_image_unregister_handler(int image_type); #endif /* PHP_IMAGE_H */