PHP 8.2.30
Preview: php_ini.h Size: 3.57 KB
//opt/alt/php85/usr/include/php/main/php_ini.h

/*
   +----------------------------------------------------------------------+
   | 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.               |
   +----------------------------------------------------------------------+
   | Author: Zeev Suraski <zeev@php.net>                                  |
   +----------------------------------------------------------------------+
*/

#ifndef PHP_INI_H
#define PHP_INI_H

#include "zend_ini.h"

BEGIN_EXTERN_C()
PHPAPI void config_zval_dtor(zval *zvalue);
void php_init_config(void);
void php_shutdown_config(void);
void php_ini_register_extensions(void);
PHPAPI zval *cfg_get_entry_ex(zend_string *name);
PHPAPI zval *cfg_get_entry(const char *name, size_t name_length);
PHPAPI zend_result cfg_get_long(const char *varname, zend_long *result);
PHPAPI zend_result cfg_get_double(const char *varname, double *result);
PHPAPI zend_result cfg_get_string(const char *varname, char **result);
PHPAPI zend_result php_parse_user_ini_file(const char *dirname, const char *ini_filename, HashTable *target_hash);
PHPAPI void php_ini_activate_config(const HashTable *source_hash, int modify_type, int stage);
PHPAPI bool php_ini_has_per_dir_config(void);
PHPAPI bool 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 HashTable* php_ini_get_configuration_hash(void);
END_EXTERN_C()

#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

#endif /* PHP_INI_H */

Directory Contents

Dirs: 1 × Files: 32

Name Size Perms Modified Actions
streams DIR
- drwxr-xr-x 2026-03-31 07:04:58
Edit Download
6.51 KB lrw-r--r-- 2026-03-12 16:58:30
Edit Download
653 B lrw-r--r-- 2026-03-12 16:58:30
Edit Download
4.78 KB lrw-r--r-- 2026-03-12 16:58:30
Edit Download
2.14 KB lrw-r--r-- 2026-03-12 16:58:30
Edit Download
2.83 KB lrw-r--r-- 2026-03-12 16:58:30
Edit Download
6.63 KB lrw-r--r-- 2026-03-12 16:58:30
Edit Download
11.55 KB lrw-r--r-- 2026-03-12 16:58:30
Edit Download
19.61 KB lrw-r--r-- 2026-03-12 16:58:30
Edit Download
63.67 KB lrw-r--r-- 2026-03-12 16:58:32
Edit Download
1.31 KB lrw-r--r-- 2026-03-12 16:58:30
Edit Download
1.63 KB lrw-r--r-- 2026-03-12 16:58:30
Edit Download
5.90 KB lrw-r--r-- 2026-03-12 16:58:30
Edit Download
3.93 KB lrw-r--r-- 2026-03-12 16:58:30
Edit Download
3.57 KB lrw-r--r-- 2026-03-12 16:58:30
Edit Download
2.73 KB lrw-r--r-- 2026-03-12 16:58:30
Edit Download
3.57 KB lrw-r--r-- 2026-03-12 16:58:30
Edit Download
3.23 KB lrw-r--r-- 2026-03-12 16:58:30
Edit Download
10.67 KB lrw-r--r-- 2026-03-12 16:58:30
Edit Download
1.27 KB lrw-r--r-- 2026-03-12 16:58:30
Edit Download
1.91 KB lrw-r--r-- 2026-03-12 16:58:30
Edit Download
9.02 KB lrw-r--r-- 2026-03-12 16:58:30
Edit Download
3.16 KB lrw-r--r-- 2026-03-12 16:58:30
Edit Download
1.67 KB lrw-r--r-- 2026-03-12 16:58:30
Edit Download
31.63 KB lrw-r--r-- 2026-03-12 16:58:30
Edit Download
1.54 KB lrw-r--r-- 2026-03-12 16:58:30
Edit Download
1.35 KB lrw-r--r-- 2026-03-12 16:58:30
Edit Download
2.06 KB lrw-r--r-- 2026-03-12 16:58:30
Edit Download
264 B lrw-r--r-- 2026-03-12 16:58:30
Edit Download
3.65 KB lrw-r--r-- 2026-03-12 16:58:30
Edit Download
11.01 KB lrw-r--r-- 2026-03-12 16:58:30
Edit Download
5.54 KB lrw-r--r-- 2026-03-12 16:58:30
Edit Download
1.47 KB lrw-r--r-- 2026-03-12 16:58:30
Edit Download

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