php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
php_functions.c File Reference
#include "php.h"
#include "zend_smart_str.h"
#include "ext/standard/info.h"
#include "ext/standard/head.h"
#include "php_ini.h"
#include "SAPI.h"
#include "apr_strings.h"
#include "apr_time.h"
#include "ap_config.h"
#include "util_filter.h"
#include "httpd.h"
#include "http_config.h"
#include "http_request.h"
#include "http_core.h"
#include "http_protocol.h"
#include "http_log.h"
#include "http_main.h"
#include "util_script.h"
#include "ap_mpm.h"
#include "unixd.h"
#include "php_apache.h"
#include "php_functions_arginfo.h"

Go to the source code of this file.

Macros

#define ZEND_INCLUDE_FULL_WINDOWS_HEADERS
 
#define SECTION(name)
 
#define ADD_LONG(name)
 
#define ADD_TIME(name)
 
#define ADD_STRING(name)
 

Functions

 PHP_FUNCTION (virtual)
 
 PHP_FUNCTION (apache_lookup_uri)
 
 PHP_FUNCTION (apache_request_headers)
 
 PHP_FUNCTION (apache_response_headers)
 
 PHP_FUNCTION (apache_note)
 
 PHP_FUNCTION (apache_setenv)
 
 PHP_FUNCTION (apache_getenv)
 
 PHP_FUNCTION (apache_get_version)
 
 PHP_FUNCTION (apache_get_modules)
 
 PHP_MINFO_FUNCTION (apache)
 

Variables

php_apache2_info_struct php_apache2_info
 
zend_module_entry php_apache_module
 

Macro Definition Documentation

◆ ADD_LONG

#define ADD_LONG ( name)
Value:
add_property_long(return_value, #name, rr->name)
zval * return_value
zend_string * name

Definition at line 112 of file php_functions.c.

◆ ADD_STRING

#define ADD_STRING ( name)
Value:
if (rr->name) add_property_string(return_value, #name, (char *) rr->name)

Definition at line 116 of file php_functions.c.

◆ ADD_TIME

#define ADD_TIME ( name)
Value:
add_property_long(return_value, #name, apr_time_sec(rr->name));

Definition at line 114 of file php_functions.c.

◆ SECTION

#define SECTION ( name)
Value:
PUTS("<h2>" name "</h2>\n")
#define PUTS(str)

Definition at line 59 of file php_functions.c.

◆ ZEND_INCLUDE_FULL_WINDOWS_HEADERS

#define ZEND_INCLUDE_FULL_WINDOWS_HEADERS

Definition at line 17 of file php_functions.c.

Function Documentation

◆ PHP_FUNCTION() [1/9]

PHP_FUNCTION ( apache_get_modules )

Definition at line 335 of file php_functions.c.

◆ PHP_FUNCTION() [2/9]

PHP_FUNCTION ( apache_get_version )

Definition at line 322 of file php_functions.c.

◆ PHP_FUNCTION() [3/9]

PHP_FUNCTION ( apache_getenv )

Definition at line 281 of file php_functions.c.

◆ PHP_FUNCTION() [4/9]

PHP_FUNCTION ( apache_lookup_uri )

Definition at line 119 of file php_functions.c.

◆ PHP_FUNCTION() [5/9]

PHP_FUNCTION ( apache_note )

Definition at line 216 of file php_functions.c.

◆ PHP_FUNCTION() [6/9]

PHP_FUNCTION ( apache_request_headers )

Definition at line 170 of file php_functions.c.

◆ PHP_FUNCTION() [7/9]

PHP_FUNCTION ( apache_response_headers )

Definition at line 193 of file php_functions.c.

◆ PHP_FUNCTION() [8/9]

PHP_FUNCTION ( apache_setenv )

Definition at line 247 of file php_functions.c.

◆ PHP_FUNCTION() [9/9]

PHP_FUNCTION ( virtual )

Definition at line 73 of file php_functions.c.

◆ PHP_MINFO_FUNCTION()

PHP_MINFO_FUNCTION ( apache )

Definition at line 353 of file php_functions.c.

Variable Documentation

◆ php_apache2_info

php_apache2_info_struct php_apache2_info

Definition at line 56 of file php_functions.c.

◆ php_apache_module

zend_module_entry php_apache_module
Initial value:
= {
"apache2handler",
ext_functions,
PHP_MINIT(apache),
PHP_MSHUTDOWN(apache),
PHP_MINFO(apache),
}
#define NULL
Definition gdcache.h:45
#define PHP_MINFO
Definition php.h:396
#define PHP_MSHUTDOWN
Definition php.h:393
#define PHP_MINIT
Definition php.h:392
#define PHP_VERSION
Definition php_version.h:7
#define STANDARD_MODULE_HEADER
#define STANDARD_MODULE_PROPERTIES

Definition at line 481 of file php_functions.c.