php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
php_filter.h
Go to the documentation of this file.
1/*
2 +----------------------------------------------------------------------+
3 | Copyright (c) The PHP Group |
4 +----------------------------------------------------------------------+
5 | This source file is subject to version 3.01 of the PHP license, |
6 | that is bundled with this package in the file LICENSE, and is |
7 | available through the world-wide-web at the following url: |
8 | https://www.php.net/license/3_01.txt |
9 | If you did not receive a copy of the PHP license and are unable to |
10 | obtain it through the world-wide-web, please send a note to |
11 | license@php.net so we can mail you a copy immediately. |
12 +----------------------------------------------------------------------+
13 | Authors: Rasmus Lerdorf <rasmus@php.net> |
14 | Derick Rethans <derick@php.net> |
15 +----------------------------------------------------------------------+
16*/
17
18#ifndef PHP_FILTER_H
19#define PHP_FILTER_H
20
21#include "zend_API.h"
22#include "php.h"
23
25#define phpext_filter_ptr &filter_module_entry
26
27#ifdef ZTS
28#include "TSRM.h"
29#endif
30
31#define PHP_FILTER_VERSION PHP_VERSION
32
33PHP_MINIT_FUNCTION(filter);
37PHP_MINFO_FUNCTION(filter);
38
45#if 0
46 zval session_array;
47#endif
51
52#if defined(COMPILE_DL_FILTER) && defined(ZTS)
54#endif
55
56#define IF_G(v) ZEND_MODULE_GLOBALS_ACCESSOR(filter, v)
57
58#define PHP_INPUT_FILTER_PARAM_DECL zval *value, zend_long flags, zval *option_array, char *charset
68
79
81
82#endif /* FILTER_H */
zend_module_entry filter_module_entry
Definition filter.c:80
#define PHP_MSHUTDOWN_FUNCTION
Definition php.h:401
#define PHP_MINIT_FUNCTION
Definition php.h:400
#define PHP_MINFO_FUNCTION
Definition php.h:404
#define PHP_RINIT_FUNCTION
Definition php.h:402
#define PHP_RSHUTDOWN_FUNCTION
Definition php.h:403
void php_filter_validate_url(PHP_INPUT_FILTER_PARAM_DECL)
void php_filter_special_chars(PHP_INPUT_FILTER_PARAM_DECL)
void php_filter_string(PHP_INPUT_FILTER_PARAM_DECL)
void php_filter_email(PHP_INPUT_FILTER_PARAM_DECL)
void php_filter_validate_ip(PHP_INPUT_FILTER_PARAM_DECL)
void php_filter_float(PHP_INPUT_FILTER_PARAM_DECL)
void php_filter_number_float(PHP_INPUT_FILTER_PARAM_DECL)
void php_filter_boolean(PHP_INPUT_FILTER_PARAM_DECL)
void php_filter_validate_domain(PHP_INPUT_FILTER_PARAM_DECL)
#define PHP_INPUT_FILTER_PARAM_DECL
Definition php_filter.h:58
zval env_array
Definition php_filter.h:43
void php_filter_int(PHP_INPUT_FILTER_PARAM_DECL)
void php_filter_encoded(PHP_INPUT_FILTER_PARAM_DECL)
void php_filter_full_special_chars(PHP_INPUT_FILTER_PARAM_DECL)
zval get_array
Definition php_filter.h:41
void php_filter_validate_regexp(PHP_INPUT_FILTER_PARAM_DECL)
void php_filter_add_slashes(PHP_INPUT_FILTER_PARAM_DECL)
zval cookie_array
Definition php_filter.h:42
void php_filter_unsafe_raw(PHP_INPUT_FILTER_PARAM_DECL)
void php_filter_number_int(PHP_INPUT_FILTER_PARAM_DECL)
void php_filter_url(PHP_INPUT_FILTER_PARAM_DECL)
zval server_array
Definition php_filter.h:44
void php_filter_callback(PHP_INPUT_FILTER_PARAM_DECL)
zval post_array
Definition php_filter.h:40
zend_long default_filter
Definition php_filter.h:48
void php_filter_validate_email(PHP_INPUT_FILTER_PARAM_DECL)
zend_long default_filter_flags
Definition php_filter.h:49
void php_filter_validate_mac(PHP_INPUT_FILTER_PARAM_DECL)
#define ZEND_TSRMLS_CACHE_EXTERN()
Definition zend.h:67
#define ZEND_END_MODULE_GLOBALS(module_name)
Definition zend_API.h:248
#define ZEND_BEGIN_MODULE_GLOBALS(module_name)
Definition zend_API.h:246
struct _zval_struct zval
int32_t zend_long
Definition zend_long.h:42
struct _zend_module_entry zend_module_entry