php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
php_main.h File Reference
#include "zend_globals.h"
#include "php_globals.h"
#include "SAPI.h"

Go to the source code of this file.

Macros

#define PHP_ZTS   0
 
#define PHP_OS_STR   PHP_OS
 

Functions

PHPAPI const char * php_version (void)
 
PHPAPI unsigned int php_version_id (void)
 
PHPAPI char * php_get_version (sapi_module_struct *sapi_module)
 
PHPAPI void php_print_version (sapi_module_struct *sapi_module)
 
PHPAPI zend_result php_request_startup (void)
 
PHPAPI void php_request_shutdown (void *dummy)
 
PHPAPI zend_result php_module_startup (sapi_module_struct *sf, zend_module_entry *additional_module)
 
PHPAPI void php_module_shutdown (void)
 
PHPAPI int php_module_shutdown_wrapper (sapi_module_struct *sapi_globals)
 
PHPAPI zend_result php_register_extensions (zend_module_entry *const *ptr, int count)
 
PHPAPI bool php_execute_script (zend_file_handle *primary_file)
 
PHPAPI bool php_execute_script_ex (zend_file_handle *primary_file, zval *retval)
 
PHPAPI int php_execute_simple_script (zend_file_handle *primary_file, zval *ret)
 
PHPAPI zend_result 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 zend_result php_stream_open_for_zend_ex (zend_file_handle *handle, int mode)
 
int php_init_environ (void)
 
int php_shutdown_environ (void)
 

Macro Definition Documentation

◆ PHP_OS_STR

#define PHP_OS_STR   PHP_OS

Definition at line 81 of file php_main.h.

◆ PHP_ZTS

#define PHP_ZTS   0

Definition at line 75 of file php_main.h.

Function Documentation

◆ php_execute_script()

PHPAPI bool php_execute_script ( zend_file_handle * primary_file)

Definition at line 2613 of file main.c.

◆ php_execute_script_ex()

PHPAPI bool php_execute_script_ex ( zend_file_handle * primary_file,
zval * retval )

Definition at line 2502 of file main.c.

◆ php_execute_simple_script()

PHPAPI int php_execute_simple_script ( zend_file_handle * primary_file,
zval * ret )

Definition at line 2620 of file main.c.

◆ php_get_version()

PHPAPI char * php_get_version ( sapi_module_struct * sapi_module)

Definition at line 110 of file main.c.

◆ php_handle_aborted_connection()

PHPAPI void php_handle_aborted_connection ( void )

Definition at line 2656 of file main.c.

◆ php_handle_auth_data()

PHPAPI int php_handle_auth_data ( const char * auth)

Definition at line 2669 of file main.c.

◆ php_html_puts()

PHPAPI void php_html_puts ( const char * str,
size_t siz )

Definition at line 1235 of file main.c.

◆ php_init_environ()

int php_init_environ ( void )
extern

◆ php_lint_script()

PHPAPI zend_result php_lint_script ( zend_file_handle * file)

Definition at line 2713 of file main.c.

◆ php_module_shutdown()

PHPAPI void php_module_shutdown ( void )

Definition at line 2424 of file main.c.

◆ php_module_shutdown_wrapper()

PHPAPI int php_module_shutdown_wrapper ( sapi_module_struct * sapi_globals)

Definition at line 2416 of file main.c.

◆ php_module_startup()

PHPAPI zend_result php_module_startup ( sapi_module_struct * sf,
zend_module_entry * additional_module )

Definition at line 2103 of file main.c.

◆ php_print_version()

PHPAPI void php_print_version ( sapi_module_struct * sapi_module)

Definition at line 144 of file main.c.

◆ php_register_extensions()

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

Definition at line 2054 of file main.c.

◆ php_request_shutdown()

PHPAPI void php_request_shutdown ( void * dummy)

Definition at line 1885 of file main.c.

◆ php_request_startup()

PHPAPI zend_result php_request_startup ( void )

Definition at line 1801 of file main.c.

◆ php_shutdown_environ()

int php_shutdown_environ ( void )
extern

◆ php_stream_open_for_zend_ex()

PHPAPI zend_result php_stream_open_for_zend_ex ( zend_file_handle * handle,
int mode )

Definition at line 1620 of file main.c.

◆ php_version()

PHPAPI const char * php_version ( void )

Definition at line 100 of file main.c.

◆ php_version_id()

PHPAPI unsigned int php_version_id ( void )

Definition at line 105 of file main.c.