/PHP-8.3/main/ |
H A D | SAPI.h | 195 SAPI_API int sapi_register_input_filter(unsigned int (*input_filter)(int arg, const char *var, char… 260 …unsigned int (*input_filter)(int arg, const char *var, char **val, size_t val_len, size_t *new_val… member 293 #define SAPI_INPUT_FILTER_FUNC(input_filter) unsigned int input_filter(int arg, const char *var, ch… argument
|
H A D | SAPI.c | 991 SAPI_API int sapi_register_input_filter(unsigned int (*input_filter)(int arg, const char *var, char… in sapi_register_input_filter() 996 sapi_module.input_filter = input_filter; in sapi_register_input_filter() 1045 if (sapi_module.input_filter) { in sapi_getenv() 1046 sapi_module.input_filter(PARSE_STRING, name, &value, strlen(value), NULL); in sapi_getenv()
|
H A D | php_variables.c | 382 if (sapi_module.input_filter(PARSE_POST, var->ptr, &val, vlen, &new_vlen)) { in add_post_var() 577 if (sapi_module.input_filter(arg, var, &val, val_len, &new_val_len)) { in SAPI_TREAT_DATA_FUNC()
|
H A D | rfc1867.c | 860 …if (++count <= PG(max_input_vars) && sapi_module.input_filter(PARSE_POST, param, &value, value_len…
|
/PHP-8.3/ext/filter/tests/ |
H A D | 035.phpt | 2 GET/POST/REQUEST Test with input_filter
|
/PHP-8.3/Zend/ |
H A D | zend_language_scanner.h | 48 zend_encoding_filter input_filter; member
|
H A D | zend_language_scanner.l | 243 lex_state->input_filter = SCNG(input_filter); in zend_save_lexical_state() 286 SCNG(input_filter) = lex_state->input_filter; in zend_restore_lexical_state() 495 LANG_SCNG(input_filter) = NULL; in zend_multibyte_set_filter() 504 LANG_SCNG(input_filter) = NULL; in zend_multibyte_set_filter() 511 LANG_SCNG(input_filter) = encoding_filter_script_to_internal; in zend_multibyte_set_filter() 514 LANG_SCNG(input_filter) = NULL; in zend_multibyte_set_filter() 518 LANG_SCNG(input_filter) = encoding_filter_script_to_intermediate; in zend_multibyte_set_filter() 554 if (SCNG(input_filter)) { in open_file_for_scanning() 745 if (SCNG(input_filter)) { in zend_prepare_string_for_scanning() 766 if (SCNG(input_filter)) { in zend_get_scanned_file_offset() [all …]
|
H A D | zend_globals.h | 368 zend_encoding_filter input_filter; member
|
H A D | zend_compile.c | 6291 old_input_filter = LANG_SCNG(input_filter); in zend_handle_encoding_declaration() 6296 if (old_input_filter != LANG_SCNG(input_filter) || in zend_handle_encoding_declaration()
|
/PHP-8.3/ext/mbstring/ |
H A D | mb_gpc.c | 262 …if (sapi_module.input_filter(info->data_type, ZSTR_VAL(converted_var), &val, ZSTR_LEN(converted_va… in _php_mb_encoding_handler_ex() 271 if (sapi_module.input_filter(info->data_type, var, &val, len_list[n], &new_val_len)) { in _php_mb_encoding_handler_ex()
|
/PHP-8.3/sapi/cli/ |
H A D | php_cli.c | 341 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &php_self, len, &len)) { in sapi_cli_register_variables() 344 if (sapi_module.input_filter(PARSE_SERVER, "SCRIPT_NAME", &php_self, len, &len)) { in sapi_cli_register_variables() 349 if (sapi_module.input_filter(PARSE_SERVER, "SCRIPT_FILENAME", &script_filename, len, &len)) { in sapi_cli_register_variables() 352 if (sapi_module.input_filter(PARSE_SERVER, "PATH_TRANSLATED", &script_filename, len, &len)) { in sapi_cli_register_variables() 357 if (sapi_module.input_filter(PARSE_SERVER, "DOCUMENT_ROOT", &docroot, len, &len)) { in sapi_cli_register_variables()
|
H A D | php_cli_server.c | 620 if (sapi_module.input_filter(PARSE_SERVER, (char*)key, &new_val, strlen(val), &new_val_len)) { in sapi_cli_server_register_variable()
|
/PHP-8.3/ext/mbstring/libmbfl/mbfl/ |
H A D | mbfl_encoding.h | 249 const struct mbfl_convert_vtbl *input_filter; member
|
H A D | mbfl_convert.c | 294 return from->input_filter; in mbfl_convert_filter_get_vtbl()
|
/PHP-8.3/sapi/phpdbg/ |
H A D | phpdbg.c | 823 …if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &PHPDBG_G(exec), PHPDBG_G(exec_len), &len))… in php_sapi_phpdbg_register_vars() 826 …if (sapi_module.input_filter(PARSE_SERVER, "SCRIPT_NAME", &PHPDBG_G(exec), PHPDBG_G(exec_len), &le… in php_sapi_phpdbg_register_vars() 830 …if (sapi_module.input_filter(PARSE_SERVER, "SCRIPT_FILENAME", &PHPDBG_G(exec), PHPDBG_G(exec_len),… in php_sapi_phpdbg_register_vars() 833 …if (sapi_module.input_filter(PARSE_SERVER, "PATH_TRANSLATED", &PHPDBG_G(exec), PHPDBG_G(exec_len),… in php_sapi_phpdbg_register_vars() 840 if (sapi_module.input_filter(PARSE_SERVER, "DOCUMENT_ROOT", &docroot, len, &len)) { in php_sapi_phpdbg_register_vars()
|
/PHP-8.3/sapi/apache2handler/ |
H A D | sapi_apache2.c | 277 if (sapi_module.input_filter(PARSE_SERVER, key, &val, strlen(val), &new_val_len)) { in php_apache_sapi_register_variables() 282 …if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &ctx->r->uri, strlen(ctx->r->uri), &new_val… in php_apache_sapi_register_variables()
|
/PHP-8.3/sapi/fpm/fpm/ |
H A D | fpm_main.c | 513 if (sapi_module.input_filter(filter_arg, var, &val, strlen(val), &new_val_len)) { in cgi_php_load_env_var() 588 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &php_self, php_self_len, &php_self_len)) { in sapi_cgi_register_variables() 595 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &php_self, php_self_len, &php_self_len)) { in sapi_cgi_register_variables()
|
/PHP-8.3/sapi/cgi/ |
H A D | cgi_main.c | 659 if (sapi_module.input_filter(filter_arg, var, &val, strlen(val), &new_val_len)) { in cgi_php_load_env_var() 739 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &php_self, php_self_len, &php_self_len)) { in sapi_cgi_register_variables() 748 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &php_self, php_self_len, &php_self_len)) { in sapi_cgi_register_variables()
|
/PHP-8.3/sapi/litespeed/ |
H A D | lsapi_main.c | 209 if (sapi_module.input_filter(filter_arg, (char *)pKey, &new_val, valLen, &new_val_len)) { in add_variable()
|