php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
info.c File Reference
#include "php.h"
#include "php_ini.h"
#include "php_globals.h"
#include "ext/standard/head.h"
#include "ext/standard/html.h"
#include "info.h"
#include "credits.h"
#include "css.h"
#include "SAPI.h"
#include <time.h>
#include "php_main.h"
#include "zend_globals.h"
#include "zend_extensions.h"
#include "zend_highlight.h"
#include "url.h"

Go to the source code of this file.

Macros

#define SECTION(name)
 

Functions

PHPAPI ZEND_COLD void php_info_print_module (zend_module_entry *zend_module)
 
PHPAPI ZEND_COLD void ZEND_COLD php_info_print_style (void)
 
PHPAPI zend_stringphp_get_uname (char mode)
 
PHPAPI ZEND_COLD void php_print_info_htmlhead (void)
 
PHPAPI ZEND_COLD void php_print_info (int flag)
 
PHPAPI ZEND_COLD void php_info_print_table_start (void)
 
PHPAPI ZEND_COLD void php_info_print_table_end (void)
 
PHPAPI ZEND_COLD void php_info_print_box_start (int flag)
 
PHPAPI ZEND_COLD void php_info_print_box_end (void)
 
PHPAPI ZEND_COLD void php_info_print_hr (void)
 
PHPAPI ZEND_COLD void php_info_print_table_colspan_header (int num_cols, const char *header)
 
PHPAPI ZEND_COLD void php_info_print_table_header (int num_cols,...)
 
PHPAPI ZEND_COLD void php_info_print_table_row (int num_cols,...)
 
PHPAPI ZEND_COLD void php_info_print_table_row_ex (int num_cols, const char *value_class,...)
 
 PHP_FUNCTION (phpinfo)
 
 PHP_FUNCTION (phpversion)
 
 PHP_FUNCTION (phpcredits)
 
 PHP_FUNCTION (php_sapi_name)
 
 PHP_FUNCTION (php_uname)
 
 PHP_FUNCTION (php_ini_scanned_files)
 
 PHP_FUNCTION (php_ini_loaded_file)
 

Variables

PHPAPI char * php_ini_opened_path
 
PHPAPI char * php_ini_scanned_path
 
PHPAPI char * php_ini_scanned_files
 

Macro Definition Documentation

◆ SECTION

#define SECTION ( name)
Value:
if (!sapi_module.phpinfo_as_text) { \
php_info_print("<h2>" name "</h2>\n"); \
} else { \
php_info_print_table_start(); \
php_info_print_table_header(1, name); \
php_info_print_table_end(); \
} \
SAPI_API sapi_module_struct sapi_module
Definition SAPI.c:65
zend_string * name

Definition at line 42 of file info.c.

Function Documentation

◆ PHP_FUNCTION() [1/7]

PHP_FUNCTION ( php_ini_loaded_file )

Definition at line 1351 of file info.c.

◆ PHP_FUNCTION() [2/7]

PHP_FUNCTION ( php_ini_scanned_files )

Definition at line 1338 of file info.c.

◆ PHP_FUNCTION() [3/7]

PHP_FUNCTION ( php_sapi_name )

Definition at line 1297 of file info.c.

◆ PHP_FUNCTION() [4/7]

PHP_FUNCTION ( php_uname )

Definition at line 1311 of file info.c.

◆ PHP_FUNCTION() [5/7]

PHP_FUNCTION ( phpcredits )

Definition at line 1282 of file info.c.

◆ PHP_FUNCTION() [6/7]

PHP_FUNCTION ( phpinfo )

Definition at line 1238 of file info.c.

◆ PHP_FUNCTION() [7/7]

PHP_FUNCTION ( phpversion )

Definition at line 1258 of file info.c.

◆ php_get_uname()

PHPAPI zend_string * php_get_uname ( char mode)

Definition at line 655 of file info.c.

◆ php_info_print_box_end()

PHPAPI ZEND_COLD void php_info_print_box_end ( void )

Definition at line 1100 of file info.c.

◆ php_info_print_box_start()

PHPAPI ZEND_COLD void php_info_print_box_start ( int flag)

Definition at line 1083 of file info.c.

◆ php_info_print_hr()

PHPAPI ZEND_COLD void php_info_print_hr ( void )

Definition at line 1109 of file info.c.

◆ php_info_print_module()

PHPAPI ZEND_COLD void php_info_print_module ( zend_module_entry * zend_module)

Definition at line 133 of file info.c.

◆ php_info_print_style()

PHPAPI ZEND_COLD void ZEND_COLD php_info_print_style ( void )

Definition at line 242 of file info.c.

◆ php_info_print_table_colspan_header()

PHPAPI ZEND_COLD void php_info_print_table_colspan_header ( int num_cols,
const char * header )

Definition at line 1119 of file info.c.

◆ php_info_print_table_end()

PHPAPI ZEND_COLD void php_info_print_table_end ( void )

Definition at line 1074 of file info.c.

◆ php_info_print_table_header()

PHPAPI ZEND_COLD void php_info_print_table_header ( int num_cols,
... )

Definition at line 1133 of file info.c.

◆ php_info_print_table_row()

PHPAPI ZEND_COLD void php_info_print_table_row ( int num_cols,
... )

Definition at line 1215 of file info.c.

◆ php_info_print_table_row_ex()

PHPAPI ZEND_COLD void php_info_print_table_row_ex ( int num_cols,
const char * value_class,
... )

Definition at line 1226 of file info.c.

◆ php_info_print_table_start()

PHPAPI ZEND_COLD void php_info_print_table_start ( void )

Definition at line 1064 of file info.c.

◆ php_print_info()

PHPAPI ZEND_COLD void php_print_info ( int flag)

Definition at line 762 of file info.c.

◆ php_print_info_htmlhead()

PHPAPI ZEND_COLD void php_print_info_htmlhead ( void )

Definition at line 740 of file info.c.

Variable Documentation

◆ php_ini_opened_path

PHPAPI char* php_ini_opened_path
extern

Definition at line 63 of file php_ini.c.

◆ php_ini_scanned_files

PHPAPI char* php_ini_scanned_files ( )
extern

@refcount 1

Definition at line 66 of file php_ini.c.

◆ php_ini_scanned_path

PHPAPI char* php_ini_scanned_path
extern

Definition at line 65 of file php_ini.c.