Download src/php/php-src/Zend/Optimizer/zend_optimizer.h from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 4.96 kB
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/Zend/Optimizer/zend_optimizer.h
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/Zend/Optimizer/zend_optimizer.h
-
curl -L -o zend_optimizer.h https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/Zend/Optimizer/zend_optimizer.h
4.96 kB
| /* | |
| +----------------------------------------------------------------------+ | |
| | Zend OPcache | | |
| +----------------------------------------------------------------------+ | |
| | 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: Andi Gutmans <andi@php.net> | | |
| | Zeev Suraski <zeev@php.net> | | |
| | Stanislav Malyshev <stas@zend.com> | | |
| | Dmitry Stogov <dmitry@php.net> | | |
| +----------------------------------------------------------------------+ | |
| */ | |
| typedef struct _zend_script { | |
| zend_string *filename; | |
| zend_op_array main_op_array; | |
| HashTable function_table; | |
| HashTable class_table; | |
| } zend_script; | |
| typedef void (*zend_optimizer_pass_t)(zend_script *, void *context); | |
| BEGIN_EXTERN_C() | |
| ZEND_API void zend_optimize_script(zend_script *script, zend_long optimization_level, zend_long debug_level); | |
| ZEND_API int zend_optimizer_register_pass(zend_optimizer_pass_t pass); | |
| ZEND_API void zend_optimizer_unregister_pass(int idx); | |
| zend_result zend_optimizer_startup(void); | |
| zend_result zend_optimizer_shutdown(void); | |
| END_EXTERN_C() | |