php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
basic_functions.h File Reference
#include <sys/stat.h>
#include <wchar.h>
#include "php_filestat.h"
#include "zend_highlight.h"
#include "url_scanner_ex.h"

Go to the source code of this file.

Data Structures

struct  _php_basic_globals
 
struct  _php_shutdown_function_entry
 

Macros

#define basic_functions_module_ptr   &basic_functions_module
 
#define BG(v)
 

Typedefs

typedef struct _php_basic_globals php_basic_globals
 
typedef struct _php_shutdown_function_entry php_shutdown_function_entry
 

Functions

 PHP_MINIT_FUNCTION (basic)
 
 PHP_MSHUTDOWN_FUNCTION (basic)
 
 PHP_RINIT_FUNCTION (basic)
 
 PHP_RSHUTDOWN_FUNCTION (basic)
 
 PHP_MINFO_FUNCTION (basic)
 
ZEND_API void php_get_highlight_struct (zend_syntax_highlighter_ini *syntax_highlighter_ini)
 
 PHP_MINIT_FUNCTION (user_filters)
 
 PHP_RSHUTDOWN_FUNCTION (user_filters)
 
 PHP_RSHUTDOWN_FUNCTION (browscap)
 
PHPAPI int _php_error_log (int opt_err, const char *message, const char *opt, const char *headers)
 
PHPAPI int _php_error_log_ex (int opt_err, const char *message, size_t message_len, const char *opt, const char *headers)
 
PHPAPI int php_prefix_varname (zval *result, zend_string *prefix, const char *var_name, size_t var_name_len, bool add_underscore)
 
PHPAPI zend_stringphp_getenv (const char *str, size_t str_len)
 
PHPAPI double php_get_nan (void)
 
PHPAPI double php_get_inf (void)
 
PHPAPI bool register_user_shutdown_function (const char *function_name, size_t function_len, php_shutdown_function_entry *shutdown_function_entry)
 
PHPAPI bool remove_user_shutdown_function (const char *function_name, size_t function_len)
 
PHPAPI bool append_user_shutdown_function (php_shutdown_function_entry *shutdown_function_entry)
 
PHPAPI void php_call_shutdown_functions (void)
 
PHPAPI void php_free_shutdown_functions (void)
 

Variables

zend_module_entry basic_functions_module
 
PHPAPI php_basic_globals basic_globals
 

Macro Definition Documentation

◆ basic_functions_module_ptr

#define basic_functions_module_ptr   &basic_functions_module

Definition at line 35 of file basic_functions.h.

◆ BG

#define BG ( v)
Value:
PHPAPI php_basic_globals basic_globals

Definition at line 116 of file basic_functions.h.

Typedef Documentation

◆ php_basic_globals

◆ php_shutdown_function_entry

Function Documentation

◆ _php_error_log()

PHPAPI int _php_error_log ( int opt_err,
const char * message,
const char * opt,
const char * headers )

Definition at line 1352 of file basic_functions.c.

◆ _php_error_log_ex()

PHPAPI int _php_error_log_ex ( int opt_err,
const char * message,
size_t message_len,
const char * opt,
const char * headers )

Definition at line 1358 of file basic_functions.c.

◆ append_user_shutdown_function()

PHPAPI bool append_user_shutdown_function ( php_shutdown_function_entry * shutdown_function_entry)
extern

Definition at line 1730 of file basic_functions.c.

◆ php_call_shutdown_functions()

PHPAPI void php_call_shutdown_functions ( void )

Definition at line 1663 of file basic_functions.c.

◆ php_free_shutdown_functions()

PHPAPI void php_free_shutdown_functions ( void )

Definition at line 1673 of file basic_functions.c.

◆ php_get_highlight_struct()

ZEND_API void php_get_highlight_struct ( zend_syntax_highlighter_ini * syntax_highlighter_ini)

Definition at line 1741 of file basic_functions.c.

◆ php_get_inf()

PHPAPI double php_get_inf ( void )

Definition at line 253 of file basic_functions.c.

◆ php_get_nan()

PHPAPI double php_get_nan ( void )

Definition at line 247 of file basic_functions.c.

◆ php_getenv()

PHPAPI zend_string * php_getenv ( const char * str,
size_t str_len )

Definition at line 632 of file basic_functions.c.

◆ PHP_MINFO_FUNCTION()

PHP_MINFO_FUNCTION ( basic )

◆ PHP_MINIT_FUNCTION() [1/2]

PHP_MINIT_FUNCTION ( basic )

◆ PHP_MINIT_FUNCTION() [2/2]

PHP_MINIT_FUNCTION ( user_filters )

Definition at line 75 of file user_filters.c.

◆ PHP_MSHUTDOWN_FUNCTION()

PHP_MSHUTDOWN_FUNCTION ( basic )

◆ php_prefix_varname()

PHPAPI int php_prefix_varname ( zval * result,
zend_string * prefix,
const char * var_name,
size_t var_name_len,
bool add_underscore )

Definition at line 1837 of file array.c.

◆ PHP_RINIT_FUNCTION()

PHP_RINIT_FUNCTION ( basic )

◆ PHP_RSHUTDOWN_FUNCTION() [1/3]

PHP_RSHUTDOWN_FUNCTION ( basic )

◆ PHP_RSHUTDOWN_FUNCTION() [2/3]

PHP_RSHUTDOWN_FUNCTION ( browscap )

◆ PHP_RSHUTDOWN_FUNCTION() [3/3]

PHP_RSHUTDOWN_FUNCTION ( user_filters )

Definition at line 95 of file user_filters.c.

◆ register_user_shutdown_function()

PHPAPI bool register_user_shutdown_function ( const char * function_name,
size_t function_len,
php_shutdown_function_entry * shutdown_function_entry )
extern

Definition at line 1708 of file basic_functions.c.

◆ remove_user_shutdown_function()

PHPAPI bool remove_user_shutdown_function ( const char * function_name,
size_t function_len )
extern

Definition at line 1720 of file basic_functions.c.

Variable Documentation

◆ basic_functions_module

zend_module_entry basic_functions_module
extern

Definition at line 148 of file basic_functions.c.

◆ basic_globals

PHPAPI php_basic_globals basic_globals
extern

Definition at line 112 of file basic_functions.c.