php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
php_ini.h File Reference
#include "zend_ini.h"

Go to the source code of this file.

Macros

#define PHP_INI_USER   ZEND_INI_USER
 
#define PHP_INI_PERDIR   ZEND_INI_PERDIR
 
#define PHP_INI_SYSTEM   ZEND_INI_SYSTEM
 
#define PHP_INI_ALL   ZEND_INI_ALL
 
#define php_ini_entry   zend_ini_entry
 
#define PHP_INI_MH   ZEND_INI_MH
 
#define PHP_INI_DISP   ZEND_INI_DISP
 
#define PHP_INI_BEGIN   ZEND_INI_BEGIN
 
#define PHP_INI_END   ZEND_INI_END
 
#define PHP_INI_ENTRY3_EX   ZEND_INI_ENTRY3_EX
 
#define PHP_INI_ENTRY3   ZEND_INI_ENTRY3
 
#define PHP_INI_ENTRY2_EX   ZEND_INI_ENTRY2_EX
 
#define PHP_INI_ENTRY2   ZEND_INI_ENTRY2
 
#define PHP_INI_ENTRY1_EX   ZEND_INI_ENTRY1_EX
 
#define PHP_INI_ENTRY1   ZEND_INI_ENTRY1
 
#define PHP_INI_ENTRY_EX   ZEND_INI_ENTRY_EX
 
#define PHP_INI_ENTRY   ZEND_INI_ENTRY
 
#define STD_PHP_INI_ENTRY   STD_ZEND_INI_ENTRY
 
#define STD_PHP_INI_ENTRY_EX   STD_ZEND_INI_ENTRY_EX
 
#define STD_PHP_INI_BOOLEAN   STD_ZEND_INI_BOOLEAN
 
#define PHP_INI_DISPLAY_ORIG   ZEND_INI_DISPLAY_ORIG
 
#define PHP_INI_DISPLAY_ACTIVE   ZEND_INI_DISPLAY_ACTIVE
 
#define PHP_INI_STAGE_STARTUP   ZEND_INI_STAGE_STARTUP
 
#define PHP_INI_STAGE_SHUTDOWN   ZEND_INI_STAGE_SHUTDOWN
 
#define PHP_INI_STAGE_ACTIVATE   ZEND_INI_STAGE_ACTIVATE
 
#define PHP_INI_STAGE_DEACTIVATE   ZEND_INI_STAGE_DEACTIVATE
 
#define PHP_INI_STAGE_RUNTIME   ZEND_INI_STAGE_RUNTIME
 
#define PHP_INI_STAGE_HTACCESS   ZEND_INI_STAGE_HTACCESS
 
#define php_ini_boolean_displayer_cb   zend_ini_boolean_displayer_cb
 
#define php_ini_color_displayer_cb   zend_ini_color_displayer_cb
 
#define php_alter_ini_entry   zend_alter_ini_entry
 
#define php_ini_long   zend_ini_long
 
#define php_ini_double   zend_ini_double
 
#define php_ini_string   zend_ini_string
 

Functions

PHPAPI void config_zval_dtor (zval *zvalue)
 
int php_init_config (void)
 
int php_shutdown_config (void)
 
void php_ini_register_extensions (void)
 
PHPAPI zvalcfg_get_entry_ex (zend_string *name)
 
PHPAPI zvalcfg_get_entry (const char *name, size_t name_length)
 
PHPAPI int cfg_get_long (const char *varname, zend_long *result)
 
PHPAPI int cfg_get_double (const char *varname, double *result)
 
PHPAPI int cfg_get_string (const char *varname, char **result)
 
PHPAPI int php_parse_user_ini_file (const char *dirname, const char *ini_filename, HashTable *target_hash)
 
PHPAPI void php_ini_activate_config (HashTable *source_hash, int modify_type, int stage)
 
PHPAPI int php_ini_has_per_dir_config (void)
 
PHPAPI int php_ini_has_per_host_config (void)
 
PHPAPI void php_ini_activate_per_dir_config (char *path, size_t path_len)
 
PHPAPI void php_ini_activate_per_host_config (const char *host, size_t host_len)
 
PHPAPI HashTablephp_ini_get_configuration_hash (void)
 

Macro Definition Documentation

◆ php_alter_ini_entry

#define php_alter_ini_entry   zend_alter_ini_entry

Definition at line 81 of file php_ini.h.

◆ PHP_INI_ALL

#define PHP_INI_ALL   ZEND_INI_ALL

Definition at line 45 of file php_ini.h.

◆ PHP_INI_BEGIN

#define PHP_INI_BEGIN   ZEND_INI_BEGIN

Definition at line 52 of file php_ini.h.

◆ php_ini_boolean_displayer_cb

#define php_ini_boolean_displayer_cb   zend_ini_boolean_displayer_cb

Definition at line 78 of file php_ini.h.

◆ php_ini_color_displayer_cb

#define php_ini_color_displayer_cb   zend_ini_color_displayer_cb

Definition at line 79 of file php_ini.h.

◆ PHP_INI_DISP

#define PHP_INI_DISP   ZEND_INI_DISP

Definition at line 50 of file php_ini.h.

◆ PHP_INI_DISPLAY_ACTIVE

#define PHP_INI_DISPLAY_ACTIVE   ZEND_INI_DISPLAY_ACTIVE

Definition at line 69 of file php_ini.h.

◆ PHP_INI_DISPLAY_ORIG

#define PHP_INI_DISPLAY_ORIG   ZEND_INI_DISPLAY_ORIG

Definition at line 68 of file php_ini.h.

◆ php_ini_double

#define php_ini_double   zend_ini_double

Definition at line 84 of file php_ini.h.

◆ PHP_INI_END

#define PHP_INI_END   ZEND_INI_END

Definition at line 53 of file php_ini.h.

◆ PHP_INI_ENTRY

#define PHP_INI_ENTRY   ZEND_INI_ENTRY

Definition at line 62 of file php_ini.h.

◆ php_ini_entry

#define php_ini_entry   zend_ini_entry

Definition at line 47 of file php_ini.h.

◆ PHP_INI_ENTRY1

#define PHP_INI_ENTRY1   ZEND_INI_ENTRY1

Definition at line 60 of file php_ini.h.

◆ PHP_INI_ENTRY1_EX

#define PHP_INI_ENTRY1_EX   ZEND_INI_ENTRY1_EX

Definition at line 59 of file php_ini.h.

◆ PHP_INI_ENTRY2

#define PHP_INI_ENTRY2   ZEND_INI_ENTRY2

Definition at line 58 of file php_ini.h.

◆ PHP_INI_ENTRY2_EX

#define PHP_INI_ENTRY2_EX   ZEND_INI_ENTRY2_EX

Definition at line 57 of file php_ini.h.

◆ PHP_INI_ENTRY3

#define PHP_INI_ENTRY3   ZEND_INI_ENTRY3

Definition at line 56 of file php_ini.h.

◆ PHP_INI_ENTRY3_EX

#define PHP_INI_ENTRY3_EX   ZEND_INI_ENTRY3_EX

Definition at line 55 of file php_ini.h.

◆ PHP_INI_ENTRY_EX

#define PHP_INI_ENTRY_EX   ZEND_INI_ENTRY_EX

Definition at line 61 of file php_ini.h.

◆ php_ini_long

#define php_ini_long   zend_ini_long

Definition at line 83 of file php_ini.h.

◆ PHP_INI_MH

#define PHP_INI_MH   ZEND_INI_MH

Definition at line 49 of file php_ini.h.

◆ PHP_INI_PERDIR

#define PHP_INI_PERDIR   ZEND_INI_PERDIR

Definition at line 42 of file php_ini.h.

◆ PHP_INI_STAGE_ACTIVATE

#define PHP_INI_STAGE_ACTIVATE   ZEND_INI_STAGE_ACTIVATE

Definition at line 73 of file php_ini.h.

◆ PHP_INI_STAGE_DEACTIVATE

#define PHP_INI_STAGE_DEACTIVATE   ZEND_INI_STAGE_DEACTIVATE

Definition at line 74 of file php_ini.h.

◆ PHP_INI_STAGE_HTACCESS

#define PHP_INI_STAGE_HTACCESS   ZEND_INI_STAGE_HTACCESS

Definition at line 76 of file php_ini.h.

◆ PHP_INI_STAGE_RUNTIME

#define PHP_INI_STAGE_RUNTIME   ZEND_INI_STAGE_RUNTIME

Definition at line 75 of file php_ini.h.

◆ PHP_INI_STAGE_SHUTDOWN

#define PHP_INI_STAGE_SHUTDOWN   ZEND_INI_STAGE_SHUTDOWN

Definition at line 72 of file php_ini.h.

◆ PHP_INI_STAGE_STARTUP

#define PHP_INI_STAGE_STARTUP   ZEND_INI_STAGE_STARTUP

Definition at line 71 of file php_ini.h.

◆ php_ini_string

#define php_ini_string   zend_ini_string

Definition at line 85 of file php_ini.h.

◆ PHP_INI_SYSTEM

#define PHP_INI_SYSTEM   ZEND_INI_SYSTEM

Definition at line 43 of file php_ini.h.

◆ PHP_INI_USER

#define PHP_INI_USER   ZEND_INI_USER

Definition at line 41 of file php_ini.h.

◆ STD_PHP_INI_BOOLEAN

#define STD_PHP_INI_BOOLEAN   STD_ZEND_INI_BOOLEAN

Definition at line 66 of file php_ini.h.

◆ STD_PHP_INI_ENTRY

#define STD_PHP_INI_ENTRY   STD_ZEND_INI_ENTRY

Definition at line 64 of file php_ini.h.

◆ STD_PHP_INI_ENTRY_EX

#define STD_PHP_INI_ENTRY_EX   STD_ZEND_INI_ENTRY_EX

Definition at line 65 of file php_ini.h.

Function Documentation

◆ cfg_get_double()

PHPAPI int cfg_get_double ( const char * varname,
double * result )

Definition at line 913 of file php_ini.c.

◆ cfg_get_entry()

PHPAPI zval * cfg_get_entry ( const char * name,
size_t name_length )

Definition at line 892 of file php_ini.c.

◆ cfg_get_entry_ex()

PHPAPI zval * cfg_get_entry_ex ( zend_string * name)

Definition at line 885 of file php_ini.c.

◆ cfg_get_long()

PHPAPI int cfg_get_long ( const char * varname,
zend_long * result )

Definition at line 899 of file php_ini.c.

◆ cfg_get_string()

PHPAPI int cfg_get_string ( const char * varname,
char ** result )

Definition at line 927 of file php_ini.c.

◆ config_zval_dtor()

PHPAPI void config_zval_dtor ( zval * zvalue)

Definition at line 166 of file php_ini.c.

◆ php_ini_activate_config()

PHPAPI void php_ini_activate_config ( HashTable * source_hash,
int modify_type,
int stage )

Definition at line 800 of file php_ini.c.

◆ php_ini_activate_per_dir_config()

PHPAPI void php_ini_activate_per_dir_config ( char * path,
size_t path_len )

Definition at line 822 of file php_ini.c.

◆ php_ini_activate_per_host_config()

PHPAPI void php_ini_activate_per_host_config ( const char * host,
size_t host_len )

Definition at line 871 of file php_ini.c.

◆ php_ini_get_configuration_hash()

PHPAPI HashTable * php_ini_get_configuration_hash ( void )

Definition at line 940 of file php_ini.c.

◆ php_ini_has_per_dir_config()

PHPAPI int php_ini_has_per_dir_config ( void )

Definition at line 815 of file php_ini.c.

◆ php_ini_has_per_host_config()

PHPAPI int php_ini_has_per_host_config ( void )

Definition at line 864 of file php_ini.c.

◆ php_ini_register_extensions()

void php_ini_register_extensions ( void )

Definition at line 748 of file php_ini.c.

◆ php_init_config()

int php_init_config ( void )

Definition at line 410 of file php_ini.c.

◆ php_parse_user_ini_file()

PHPAPI int php_parse_user_ini_file ( const char * dirname,
const char * ini_filename,
HashTable * target_hash )

Definition at line 759 of file php_ini.c.

◆ php_shutdown_config()

int php_shutdown_config ( void )

Definition at line 732 of file php_ini.c.