/php-src/main/ |
H A D | SAPI.h | 217 SAPI_API int sapi_register_input_filter(unsigned int (*input_filter)(int arg, const char *var, char… 282 …unsigned int (*input_filter)(int arg, const char *var, char **val, size_t val_len, size_t *new_val… member 315 #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 | 383 if (sapi_module.input_filter(PARSE_POST, var->ptr, &val, vlen, &new_vlen)) { in add_post_var() 579 if (sapi_module.input_filter(arg, var, &val, val_len, &new_val_len)) { in SAPI_TREAT_DATA_FUNC()
|
H A D | rfc1867.c | 870 …if (++count <= max_input_vars && sapi_module.input_filter(PARSE_POST, param, &value, value_len, &n…
|
/php-src/ext/filter/tests/ |
H A D | 035.phpt | 2 GET/POST/REQUEST Test with input_filter
|
/php-src/Zend/ |
H A D | zend_language_scanner.h | 50 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 | 378 zend_encoding_filter input_filter; member
|
H A D | zend_compile.c | 6813 old_input_filter = LANG_SCNG(input_filter); in zend_handle_encoding_declaration() 6818 if (old_input_filter != LANG_SCNG(input_filter) || in zend_handle_encoding_declaration()
|
/php-src/ext/mbstring/ |
H A D | mb_gpc.c | 255 …if (sapi_module.input_filter(info->data_type, ZSTR_VAL(converted_var), &val, ZSTR_LEN(converted_va… in _php_mb_encoding_handler_ex() 264 if (sapi_module.input_filter(info->data_type, var, &val, len_list[n], &new_val_len)) { in _php_mb_encoding_handler_ex()
|
/php-src/sapi/cli/ |
H A D | php_cli.c | 328 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &php_self, len, &len)) { in sapi_cli_register_variables() 331 if (sapi_module.input_filter(PARSE_SERVER, "SCRIPT_NAME", &php_self, len, &len)) { in sapi_cli_register_variables() 336 if (sapi_module.input_filter(PARSE_SERVER, "SCRIPT_FILENAME", &script_filename, len, &len)) { in sapi_cli_register_variables() 339 if (sapi_module.input_filter(PARSE_SERVER, "PATH_TRANSLATED", &script_filename, len, &len)) { in sapi_cli_register_variables() 344 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-src/ext/mbstring/libmbfl/mbfl/ |
H A D | mbfl_encoding.h | 251 const struct mbfl_convert_vtbl *input_filter; member
|
H A D | mbfl_convert.c | 293 return from->input_filter; in mbfl_convert_filter_get_vtbl()
|
/php-src/sapi/phpdbg/ |
H A D | phpdbg.c | 824 …if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &PHPDBG_G(exec), PHPDBG_G(exec_len), &len))… in php_sapi_phpdbg_register_vars() 827 …if (sapi_module.input_filter(PARSE_SERVER, "SCRIPT_NAME", &PHPDBG_G(exec), PHPDBG_G(exec_len), &le… in php_sapi_phpdbg_register_vars() 831 …if (sapi_module.input_filter(PARSE_SERVER, "SCRIPT_FILENAME", &PHPDBG_G(exec), PHPDBG_G(exec_len),… in php_sapi_phpdbg_register_vars() 834 …if (sapi_module.input_filter(PARSE_SERVER, "PATH_TRANSLATED", &PHPDBG_G(exec), PHPDBG_G(exec_len),… in php_sapi_phpdbg_register_vars() 841 if (sapi_module.input_filter(PARSE_SERVER, "DOCUMENT_ROOT", &docroot, len, &len)) { in php_sapi_phpdbg_register_vars()
|
/php-src/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-src/sapi/fpm/fpm/ |
H A D | fpm_main.c | 511 if (sapi_module.input_filter(filter_arg, var, &val, strlen(val), &new_val_len)) { in cgi_php_load_env_var() 586 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &php_self, php_self_len, &php_self_len)) { in sapi_cgi_register_variables() 593 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &php_self, php_self_len, &php_self_len)) { in sapi_cgi_register_variables()
|
/php-src/sapi/cgi/ |
H A D | cgi_main.c | 662 if (sapi_module.input_filter(filter_arg, var, &val, strlen(val), &new_val_len)) { in cgi_php_load_env_var() 742 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &php_self, php_self_len, &php_self_len)) { in sapi_cgi_register_variables() 751 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &php_self, php_self_len, &php_self_len)) { in sapi_cgi_register_variables()
|
/php-src/sapi/litespeed/ |
H A D | lsapi_main.c | 208 if (sapi_module.input_filter(filter_arg, (char *)pKey, &new_val, valLen, &new_val_len)) { in add_variable()
|