PHP 8.2.30
Preview: php_main.h Size: 2.42 KB
//opt/cpanel/ea-php74/root/usr/include/php/main/php_main.h

/*
   +----------------------------------------------------------------------+
   | PHP Version 7                                                        |
   +----------------------------------------------------------------------+
   | 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:           |
   | http://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>                                 |
   +----------------------------------------------------------------------+
 */

#ifndef PHP_MAIN_H
#define PHP_MAIN_H

#include "zend_globals.h"
#include "php_globals.h"
#include "SAPI.h"

BEGIN_EXTERN_C()
PHPAPI int php_request_startup(void);
PHPAPI void php_request_shutdown(void *dummy);
PHPAPI int php_module_startup(sapi_module_struct *sf, zend_module_entry *additional_modules, uint32_t num_additional_modules);
PHPAPI void php_module_shutdown(void);
PHPAPI int php_module_shutdown_wrapper(sapi_module_struct *sapi_globals);

PHPAPI int php_register_extensions(zend_module_entry * const * ptr, int count);

PHPAPI int php_execute_script(zend_file_handle *primary_file);
PHPAPI int php_execute_simple_script(zend_file_handle *primary_file, zval *ret);
PHPAPI int php_handle_special_queries(void);
PHPAPI int php_lint_script(zend_file_handle *file);

PHPAPI void php_handle_aborted_connection(void);
PHPAPI int php_handle_auth_data(const char *auth);

PHPAPI void php_html_puts(const char *str, size_t siz);
PHPAPI int php_stream_open_for_zend_ex(const char *filename, zend_file_handle *handle, int mode);

/* environment module */
extern int php_init_environ(void);
extern int php_shutdown_environ(void);

#ifdef ZTS
PHPAPI void php_reserve_tsrm_memory(void);
PHPAPI int php_tsrm_startup(void);
#endif

END_EXTERN_C()

#endif

Directory Contents

Dirs: 1 × Files: 28

Name Size Perms Modified Actions
streams DIR
- drwxr-xr-x 2026-03-24 07:01:36
Edit Download
6.35 KB lrw-r--r-- 2026-03-08 23:05:45
Edit Download
4.90 KB lrw-r--r-- 2026-03-08 23:05:45
Edit Download
2.35 KB lrw-r--r-- 2026-03-08 23:05:45
Edit Download
2.98 KB lrw-r--r-- 2026-03-08 23:05:45
Edit Download
11.78 KB lrw-r--r-- 2026-03-08 23:05:45
Edit Download
19.80 KB lrw-r--r-- 2026-03-08 23:05:45
Edit Download
52.34 KB lrw-r--r-- 2026-03-08 23:05:45
Edit Download
1.45 KB lrw-r--r-- 2026-03-08 23:05:45
Edit Download
1.78 KB lrw-r--r-- 2026-03-08 23:05:45
Edit Download
4.13 KB lrw-r--r-- 2026-03-08 23:05:45
Edit Download
3.67 KB lrw-r--r-- 2026-03-08 23:05:45
Edit Download
2.42 KB lrw-r--r-- 2026-03-08 23:05:45
Edit Download
3.43 KB lrw-r--r-- 2026-03-08 23:05:45
Edit Download
9.99 KB lrw-r--r-- 2026-03-08 23:05:45
Edit Download
2.06 KB lrw-r--r-- 2026-03-08 23:05:45
Edit Download
9.42 KB lrw-r--r-- 2026-03-08 23:05:45
Edit Download
3.41 KB lrw-r--r-- 2026-03-08 23:05:45
Edit Download
1.82 KB lrw-r--r-- 2026-03-08 23:05:45
Edit Download
5.15 KB lrw-r--r-- 2026-03-08 23:05:45
Edit Download
28.66 KB lrw-r--r-- 2026-03-08 23:05:45
Edit Download
1.59 KB lrw-r--r-- 2026-03-08 23:05:45
Edit Download
1.47 KB lrw-r--r-- 2026-03-08 23:05:45
Edit Download
2.01 KB lrw-r--r-- 2026-03-08 23:05:45
Edit Download
266 B lrw-r--r-- 2026-03-08 23:05:45
Edit Download
3.28 KB lrw-r--r-- 2026-03-08 23:05:45
Edit Download
10.08 KB lrw-r--r-- 2026-03-08 23:05:45
Edit Download
6.70 KB lrw-r--r-- 2026-03-08 23:05:45
Edit Download
1.61 KB lrw-r--r-- 2026-03-08 23:05:45
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).