Download src/php/php-src/sapi/phpdbg/phpdbg_out.h from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 3.24 kB
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/sapi/phpdbg/phpdbg_out.h
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/sapi/phpdbg/phpdbg_out.h
-
curl -L -o phpdbg_out.h https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/sapi/phpdbg/phpdbg_out.h
3.24 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: Felipe Pena <felipe@php.net> | | |
| | Authors: Joe Watkins <joe.watkins@live.co.uk> | | |
| | Authors: Bob Weinand <bwoebi@php.net> | | |
| +----------------------------------------------------------------------+ | |
| */ | |
| /** | |
| * Error/notice/formatting helpers | |
| */ | |
| enum { | |
| P_ERROR = 1, | |
| P_NOTICE, | |
| P_WRITELN, | |
| P_WRITE, | |
| P_STDOUT, | |
| P_STDERR, | |
| P_LOG | |
| }; | |
| PHPDBG_API int phpdbg_print(int severity, int fd, const char *strfmt, ...) PHP_ATTRIBUTE_FORMAT(printf, 3, 4); | |
| PHPDBG_API int phpdbg_log_internal(int fd, const char *fmt, ...) PHP_ATTRIBUTE_FORMAT(printf, 2, 3); | |
| PHPDBG_API int phpdbg_out_internal(int fd, const char *fmt, ...) PHP_ATTRIBUTE_FORMAT(printf, 2, 3); | |
| PHPDBG_API int _phpdbg_asprintf(char **buf, const char *format, ...); | |
| PHPDBG_API void phpdbg_free_err_buf(void); | |
| PHPDBG_API void phpdbg_activate_err_buf(bool active); | |
| PHPDBG_API int phpdbg_output_err_buf(const char *strfmt, ...); | |
| int phpdbg_process_print(int fd, int type, const char *msg, int msglen); | |
| /* {{{ For separation */ | |