php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
filter.c File Reference
#include "php_filter.h"
#include "main/php_variables.h"
#include "ext/standard/info.h"
#include "filter_private.h"
#include "filter_arginfo.h"

Go to the source code of this file.

Data Structures

struct  filter_list_entry
 

Macros

#define PARSE_ENV   4
 
#define PARSE_SERVER   5
 
#define VAR_ARRAY_COPY_DTOR(a)
 
#define PARSE_CASE(s, a, t)
 

Typedefs

typedef struct filter_list_entry filter_list_entry
 

Functions

 PHP_MINIT_FUNCTION (filter)
 
 PHP_MSHUTDOWN_FUNCTION (filter)
 
 PHP_RSHUTDOWN_FUNCTION (filter)
 
 PHP_MINFO_FUNCTION (filter)
 
 PHP_FUNCTION (filter_has_var)
 
 PHP_FUNCTION (filter_input)
 
 PHP_FUNCTION (filter_var)
 
 PHP_FUNCTION (filter_input_array)
 
 PHP_FUNCTION (filter_var_array)
 
 PHP_FUNCTION (filter_list)
 
 PHP_FUNCTION (filter_id)
 

Variables

zend_module_entry filter_module_entry
 

Macro Definition Documentation

◆ PARSE_CASE

#define PARSE_CASE ( s,
a,
t )
Value:
case s: \
if (Z_ISUNDEF(IF_G(a))) { \
array_init(&IF_G(a)); \
} \
array_ptr = &IF_G(a); \
orig_array_ptr = &PG(http_globals)[t]; \
break;
char s[4]
Definition cdf.c:77
#define IF_G(v)
Definition php_filter.h:56
#define PG(v)
Definition php_globals.h:31
$obj a
Definition test.php:84
#define Z_ISUNDEF(zval)
Definition zend_types.h:956

◆ PARSE_ENV

#define PARSE_ENV   4

Definition at line 69 of file filter.c.

◆ PARSE_SERVER

#define PARSE_SERVER   5

Definition at line 73 of file filter.c.

◆ VAR_ARRAY_COPY_DTOR

#define VAR_ARRAY_COPY_DTOR ( a)
Value:
if (!Z_ISUNDEF(IF_G(a))) { \
zval_ptr_dtor(&IF_G(a)); \
ZVAL_UNDEF(&IF_G(a)); \
}

Definition at line 179 of file filter.c.

Typedef Documentation

◆ filter_list_entry

typedef struct filter_list_entry filter_list_entry

Function Documentation

◆ PHP_FUNCTION() [1/7]

PHP_FUNCTION ( filter_has_var )

Definition at line 436 of file filter.c.

◆ PHP_FUNCTION() [2/7]

PHP_FUNCTION ( filter_id )

Definition at line 743 of file filter.c.

◆ PHP_FUNCTION() [3/7]

PHP_FUNCTION ( filter_input )

Definition at line 578 of file filter.c.

◆ PHP_FUNCTION() [4/7]

PHP_FUNCTION ( filter_input_array )

Definition at line 668 of file filter.c.

◆ PHP_FUNCTION() [5/7]

PHP_FUNCTION ( filter_list )

Definition at line 727 of file filter.c.

◆ PHP_FUNCTION() [6/7]

PHP_FUNCTION ( filter_var )

Definition at line 642 of file filter.c.

◆ PHP_FUNCTION() [7/7]

PHP_FUNCTION ( filter_var_array )

Definition at line 703 of file filter.c.

◆ PHP_MINFO_FUNCTION()

PHP_MINFO_FUNCTION ( filter )

Definition at line 200 of file filter.c.

◆ PHP_MINIT_FUNCTION()

PHP_MINIT_FUNCTION ( filter )

Definition at line 155 of file filter.c.

◆ PHP_MSHUTDOWN_FUNCTION()

PHP_MSHUTDOWN_FUNCTION ( filter )

Definition at line 170 of file filter.c.

◆ PHP_RSHUTDOWN_FUNCTION()

PHP_RSHUTDOWN_FUNCTION ( filter )

Definition at line 185 of file filter.c.

Variable Documentation

◆ filter_module_entry

zend_module_entry filter_module_entry
Initial value:
= {
"filter",
ext_functions,
PHP_MINIT(filter),
PHP_MSHUTDOWN(filter),
PHP_RSHUTDOWN(filter),
PHP_MINFO(filter),
}
#define NULL
Definition gdcache.h:45
#define PHP_MINFO
Definition php.h:396
#define PHP_MSHUTDOWN
Definition php.h:393
#define PHP_RSHUTDOWN
Definition php.h:395
#define PHP_MINIT
Definition php.h:392
#define PHP_FILTER_VERSION
Definition php_filter.h:31
#define STANDARD_MODULE_HEADER
#define STANDARD_MODULE_PROPERTIES

Definition at line 80 of file filter.c.