Home
last modified time | relevance | path

Searched refs:handler (Results 251 – 275 of 286) sorted by path

1...<<1112

/PHP-7.4/ext/xml/tests/
H A Dxml011.phpt24 echo "\nChange to empty end handler\n";
69 Change to empty end handler
H A Dxml_parser_set_option_basic.phpt11 /* Prototype : proto bool xml_set_notation_decl_handler ( resource $parser , callback $handler )
12 * Description: Sets the notation declaration handler function for the XML parser.
H A Dxml_set_notation_decl_handler_basic.phpt11 /* Prototype : proto bool xml_set_notation_decl_handler ( resource $parser , callback $handler )
12 * Description: Sets the notation declaration handler function for the XML parser.
H A Dxml_set_processing_instruction_handler_basic.phpt11 …pe : proto bool xml_set_processing_instruction_handler ( resource $parser , callback $handler )
12 * Description: Sets the processing instruction (PI) handler function for the XML parser.
H A Dxml_set_start_namespace_decl_handler_basic.phpt11 /* Prototype : bool xml_set_start_namespace_decl_handler ( resource $parser , callback $handler
12 * Description: Set up start namespace declaration handler.
/PHP-7.4/ext/xml/
H A Dxml.c536 static void xml_set_handler(zval *handler, zval *data) in xml_set_handler() argument
539 if (handler) { in xml_set_handler()
540 zval_ptr_dtor(handler); in xml_set_handler()
547 ZVAL_UNDEF(handler); in xml_set_handler()
552 ZVAL_COPY(handler, data); in xml_set_handler()
562 if (parser && handler && !EG(exception)) { in xml_call_handler()
567 ZVAL_COPY_VALUE(&fci.function_name, handler); in xml_call_handler()
580 if (Z_TYPE_P(handler) == IS_STRING) { in xml_call_handler()
582 } else if (Z_TYPE_P(handler) == IS_ARRAY && in xml_call_handler()
583 (obj = zend_hash_index_find(Z_ARRVAL_P(handler), 0)) != NULL && in xml_call_handler()
[all …]
/PHP-7.4/ext/xsl/tests/
H A Dxsltprocessor_registerPHPFunctions-array-notallowed.phpt24 Warning: XSLTProcessor::transformToXml(): Not allowed to call handler 'ucwords()' in %s on line %d
H A Dxsltprocessor_registerPHPFunctions-funcundef.phpt26 Warning: XSLTProcessor::transformToXml(): Unable to call handler undefinedfunc() in %s on line %d
H A Dxsltprocessor_registerPHPFunctions-string-notallowed.phpt24 Warning: XSLTProcessor::transformToXml(): Not allowed to call handler 'ucwords()' in %s on line %d
/PHP-7.4/ext/xsl/
H A Dxsltprocessor.c185 zval handler; in xsl_ext_function_php() local
320 ZVAL_STRING(&handler, (char *) obj->stringval); in xsl_ext_function_php()
323 ZVAL_COPY_VALUE(&fci.function_name, &handler); in xsl_ext_function_php()
328 if (!zend_make_callable(&handler, &callable)) { in xsl_ext_function_php()
338 if (Z_TYPE(handler) == IS_STRING) { in xsl_ext_function_php()
339 php_error_docref(NULL, E_WARNING, "Unable to call handler %s()", Z_STRVAL(handler)); in xsl_ext_function_php()
369 zval_ptr_dtor(&handler); in xsl_ext_function_php()
/PHP-7.4/ext/zend_test/
H A Dtest.c154 fptr->handler = ZEND_FN(zend_test_func); in zend_test_class_method_get()
170 fptr->handler = ZEND_FN(zend_test_func); in zend_test_class_static_method_get()
/PHP-7.4/main/
H A Doutput.c531 if (handler->dtor && handler->opaq) { in php_output_handler_set_context()
532 handler->dtor(handler->opaq); in php_output_handler_set_context()
562 handler->level = zend_stack_push(&OG(handlers), &handler); in php_output_handler_start()
719 if (handler->dtor && handler->opaq) { in php_output_handler_dtor()
720 handler->dtor(handler->opaq); in php_output_handler_dtor()
722 memset(handler, 0, sizeof(*handler)); in php_output_handler_dtor()
874 handler->buffer.data = emalloc(handler->buffer.size); in php_output_handler_init()
892 handler->buffer.data = safe_erealloc(handler->buffer.data, 1, handler->buffer.size, grow_max); in php_output_handler_append()
899 if (handler->size && (handler->buffer.used >= handler->size)) { in php_output_handler_append()
926 handler, in php_output_handler_op()
[all …]
H A Dphp_output.h227 PHPAPI php_output_handler *php_output_handler_create_user(zval *handler, size_t chunk_size, int fla…
228 …nal(const char *name, size_t name_len, php_output_handler_context_func_t handler, size_t chunk_siz…
230 PHPAPI void php_output_handler_set_context(php_output_handler *handler, void *opaq, void (*dtor)(vo…
231 PHPAPI int php_output_handler_start(php_output_handler *handler);
234 PHPAPI void php_output_handler_dtor(php_output_handler *handler);
235 PHPAPI void php_output_handler_free(php_output_handler **handler);
/PHP-7.4/
H A Dphp.ini-development220 ; Setting any output handler automatically turns on output buffering.
222 ; directive. Instead, explicitly set the output handler using ob_start().
229 ; http://php.net/output-handler
267 ; http://php.net/zlib.output-handler
997 ; To use an output encoding conversion, iconv's output handler must be set
1312 ; http://php.net/session.save-handler
1399 ; http://php.net/session.serialize-handler
1644 ; To use an output encoding conversion, mbstring's output handler must be set
H A Dphp.ini-production220 ; Setting any output handler automatically turns on output buffering.
222 ; directive. Instead, explicitly set the output handler using ob_start().
229 ; http://php.net/output-handler
267 ; http://php.net/zlib.output-handler
997 ; To use an output encoding conversion, iconv's output handler must be set
1312 ; http://php.net/session.save-handler
1399 ; http://php.net/session.serialize-handler
1644 ; To use an output encoding conversion, mbstring's output handler must be set
/PHP-7.4/sapi/apache2handler/
H A Dconfig.m43 [Build shared Apache 2 handler module. FILE is the optional pathname to
8 AC_MSG_CHECKING([for Apache 2 handler module support via DSO through APXS])
H A Dconfig.w323 ARG_ENABLE('apache2handler', 'Build Apache 2.x handler', 'no');
21 ARG_ENABLE('apache2-2handler', 'Build Apache 2.2.x handler', 'no');
40 ARG_ENABLE('apache2-4handler', 'Build Apache 2.4.x handler', 'no');
H A Dphp_functions.c146 ADD_STRING(handler); in PHP_FUNCTION()
H A Dsapi_apache2.c605 …if (strcmp(r->handler, PHP_MAGIC_TYPE) && strcmp(r->handler, PHP_SOURCE_MAGIC_TYPE) && strcmp(r->h… in php_handler()
607 if (!AP2(xbithack) || strcmp(r->handler, "text/html") || !(r->finfo.protection & APR_UEXECUTE)) { in php_handler()
662 if (parent_req && parent_req->handler && in php_handler()
663 strcmp(parent_req->handler, PHP_MAGIC_TYPE) && in php_handler()
664 strcmp(parent_req->handler, PHP_SOURCE_MAGIC_TYPE) && in php_handler()
665 strcmp(parent_req->handler, PHP_SCRIPT)) { in php_handler()
691 if (strncmp(r->handler, PHP_SOURCE_MAGIC_TYPE, sizeof(PHP_SOURCE_MAGIC_TYPE) - 1) == 0) { in php_handler()
/PHP-7.4/sapi/cli/tests/
H A Dsapi_windows_set_ctrl_handler.phpt18 function handler($evt)
23 sapi_windows_set_ctrl_handler('handler');
/PHP-7.4/sapi/litespeed/
H A DREADME.md98 2. Go to 'Server'->'Script Handler' tab, add a script handler configuration: set
H A Dlsapilib.c340 static void lsapi_signal(int signo, sighandler_t handler) in lsapi_signal() argument
350 sa.sa_handler = handler; in lsapi_signal()
H A Dlscriu.c153 static void lsapi_criu_signal(int signo, sighandler_t handler) in lsapi_criu_signal() argument
162 sa.sa_handler = handler; in lsapi_criu_signal()
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_cmd.c578 while (command && command->name && command->handler) { in phpdbg_stack_resolve()
665 const phpdbg_command_t *handler = NULL; in phpdbg_internal_stack_execute() local
692 handler = phpdbg_stack_resolve(phpdbg_prompt_commands, NULL, &top); in phpdbg_internal_stack_execute()
694 if (handler) { in phpdbg_internal_stack_execute()
695 if (!allow_async_unsafe && !(handler->flags & PHPDBG_ASYNC_SAFE)) { in phpdbg_internal_stack_execute()
696 …r("signalsegv", "command=\"%s\"", "%s command is disallowed during hard interrupt", handler->name); in phpdbg_internal_stack_execute()
700 if (phpdbg_stack_verify(handler, &top) == SUCCESS) { in phpdbg_internal_stack_execute()
703 return handler->handler(top); in phpdbg_internal_stack_execute()
H A Dphpdbg_cmd.h101 phpdbg_command_handler_t handler; /* Command handler */ member
164 #define PHPDBG_COMMAND_D_EXP(name, tip, alias, handler, children, args, parent, flags) \ argument
165 {PHPDBG_STRL(#name), tip, sizeof(tip)-1, alias, phpdbg_do_##handler, children, args, parent, flags}
167 #define PHPDBG_COMMAND_D_EX(name, tip, alias, handler, children, args, flags) \ argument
168 {PHPDBG_STRL(#name), tip, sizeof(tip)-1, alias, phpdbg_do_##handler, children, args, NULL, flags}

Completed in 294 milliseconds

1...<<1112