Download src/php/php-src/ext/gd/php_gd.h from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 4.11 kB
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/gd/php_gd.h
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/gd/php_gd.h
-
curl -L -o php_gd.h https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/gd/php_gd.h
4.11 kB
| /* | |
| +----------------------------------------------------------------------+ | |
| | 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 <rasmus@php.net> | | |
| | Stig Bakken <ssb@php.net> | | |
| +----------------------------------------------------------------------+ | |
| */ | |
| /* open_basedir and safe_mode checks */ | |
| /* Section Filters Declarations */ | |
| /* IMPORTANT NOTE FOR NEW FILTER | |
| * Do not forget to update: | |
| * IMAGE_FILTER_MAX: define the last filter index | |
| * IMAGE_FILTER_MAX_ARGS: define the biggest amount of arguments | |
| * image_filter array in PHP_FUNCTION(imagefilter) | |
| * */ | |
| PHPAPI extern const char php_sig_gif[3]; | |
| PHPAPI extern const char php_sig_jpg[3]; | |
| PHPAPI extern const char php_sig_png[8]; | |
| PHPAPI extern const char php_sig_bmp[2]; | |
| PHPAPI extern const char php_sig_riff[4]; | |
| PHPAPI extern const char php_sig_webp[4]; | |
| PHPAPI extern const char php_sig_avif[4]; | |
| extern zend_module_entry gd_module_entry; | |
| /* gd.c functions */ | |
| PHP_MINFO_FUNCTION(gd); | |
| PHP_MINIT_FUNCTION(gd); | |
| PHP_MSHUTDOWN_FUNCTION(gd); | |
| PHP_RSHUTDOWN_FUNCTION(gd); | |
| PHP_GD_API struct gdImageStruct *php_gd_libgdimageptr_from_zval_p(zval* zp); | |