Home
last modified time | relevance | path

Searched refs:handler (Results 1 – 25 of 324) sorted by relevance

12345678910>>...13

/PHP-8.1/ext/xml/
H A Dxml.stub.php17 /** @param callable $handler */
18 function xml_set_character_data_handler(XMLParser $parser, $handler): bool {} argument
20 /** @param callable $handler */
23 /** @param callable $handler */
24 function xml_set_default_handler(XMLParser $parser, $handler): bool {} argument
26 /** @param callable $handler */
29 /** @param callable $handler */
30 function xml_set_notation_decl_handler(XMLParser $parser, $handler): bool {} argument
32 /** @param callable $handler */
35 /** @param callable $handler */
[all …]
/PHP-8.1/main/
H A Doutput.c539 if (handler->dtor && handler->opaq) { in php_output_handler_set_context()
540 handler->dtor(handler->opaq); in php_output_handler_set_context()
570 handler->level = zend_stack_push(&OG(handlers), &handler); in php_output_handler_start()
727 if (handler->dtor && handler->opaq) { in php_output_handler_dtor()
728 handler->dtor(handler->opaq); in php_output_handler_dtor()
730 memset(handler, 0, sizeof(*handler)); in php_output_handler_dtor()
882 handler->buffer.data = emalloc(handler->buffer.size); in php_output_handler_init()
900 handler->buffer.data = safe_erealloc(handler->buffer.data, 1, handler->buffer.size, grow_max); in php_output_handler_append()
907 if (handler->size && (handler->buffer.used >= handler->size)) { in php_output_handler_append()
934 handler, in php_output_handler_op()
[all …]
/PHP-8.1/Zend/tests/
H A Dbug63206.phpt7 echo 'First handler' . PHP_EOL;
11 echo 'Second handler' . PHP_EOL;
14 echo 'Internal handler' . PHP_EOL;
17 $triggerInternalNotice++; // warnings while handling the error should go into internal handler
26 Second handler
27 Internal handler
28 Second handler
29 Internal handler
/PHP-8.1/ext/dba/tests/
H A Dskipif.inc3 if (!isset($handler)) {
6 $handler = 'flatfile';
10 die('skip no handler available that can be used for the test');
12 $handler = array_shift($handlers);
15 if (!in_array($handler, dba_handlers())) {
16 $HND = strtoupper($handler);
17 die("skip $HND handler not available");
20 $HND = strtoupper($handler);
H A Ddba_db4_012.phpt7 $handler = "db4";
9 die("info $HND handler used");
14 $handler = "db4";
16 echo "database handler: $handler\n";
17 if (($db_file = dba_open($db_filename, "rl", $handler)) !== FALSE) {
30 database handler: db4
32 Warning: dba_open(%stest0.dbm,rl): Driver initialization failed for handler: db4: No such file or d…
H A Ddba_db4_014.phpt7 $handler = "db4";
9 die("info $HND handler used");
14 $handler = "db4";
16 echo "database handler: $handler\n";
18 if (($db_file = dba_open($db_filename, "wl", $handler)) !== FALSE) {
31 database handler: db4
33 Warning: dba_open(%stest0.dbm,wl): Driver initialization failed for handler: db4: No such file or d…
H A Ddba_db4_015.phpt7 $handler = "db4";
9 die("info $HND handler used");
14 $handler = "db4";
16 echo "database handler: $handler\n";
18 if (($db_file = dba_popen($db_filename, "c", $handler)) !== FALSE) {
23 if (($db_file = dba_popen($db_filename, "wl", $handler)) !== FALSE) {
38 database handler: db4
H A Ddba_db4_007.phpt7 $handler = "db4";
9 die("info $HND handler used");
14 $handler = "db4";
16 echo "database handler: $handler\n";
20 if (($db_file = dba_popen($db_filename, "c", $handler)) !== FALSE) {
37 database handler: db4
40 Warning: dba_popen(%stest0.dbm,c): Driver initialization failed for handler: db4: Invalid argument …
H A Ddba_db4_optimize.phpt7 $handler = "db4";
9 die("info $HND handler used");
13 $handler = "db4";
15 echo "database handler: $handler\n";
16 if (($db_file=dba_open($db_filename, "n", $handler))!==FALSE) {
35 database handler: db4
H A Ddba_db4_sync.phpt7 $handler = "db4";
9 die("info $HND handler used");
13 $handler = "db4";
15 echo "database handler: $handler\n";
16 if (($db_file=dba_open($db_filename, "n", $handler))!==FALSE) {
35 database handler: db4
H A Ddba_db4_013.phpt7 $handler = "db4";
9 die("info $HND handler used");
14 $handler = "db4";
16 echo "database handler: $handler\n";
18 if (($db_file = dba_popen($db_filename, "c", $handler)) !== FALSE) {
23 if (($db_file = dba_popen($db_filename, "rl", $handler)) !== FALSE) {
38 database handler: db4
H A Ddba_db4_001.phpt7 $handler = "db4";
9 die("info $HND handler used");
14 $handler = "db4";
16 echo "database handler: $handler\n";
17 if (($db_file = dba_open($db_filename, "c", $handler)) !== FALSE) {
32 database handler: db4
H A Ddba_db4_002.phpt7 $handler = "db4";
9 die("info $HND handler used");
14 $handler = "db4";
16 echo "database handler: $handler\n";
17 if (($db_file = dba_open($db_filename, "n", $handler)) !== FALSE) {
32 database handler: db4
H A Ddba_db4_005.phpt7 $handler = "db4";
9 die("info $HND handler used");
14 $handler = "db4";
16 echo "database handler: $handler\n";
17 if (($db_file = dba_popen($db_filename, "c", $handler)) !== FALSE) {
32 database handler: db4
H A Ddba_db4_006.phpt7 $handler = "db4";
9 die("info $HND handler used");
14 $handler = "db4";
16 echo "database handler: $handler\n";
17 if (($db_file = dba_popen($db_filename, "n", $handler)) !== FALSE) {
32 database handler: db4
H A Ddba_db4_009.phpt7 $handler = "db4";
9 die("info $HND handler used");
13 $handler = "db4";
15 echo "database handler: $handler\n";
18 if (($db_file=dba_open($db_file, "n", $handler))!==FALSE) {
23 if (($db_file1=dba_open($db_file1, "n", $handler))!==FALSE) {
28 if (($db_file2=dba_open($db_file2, "n", $handler))!==FALSE) {
44 database handler: db4
H A Ddba011.phpt8 die("info $HND handler used");
13 echo "database handler: $handler\n";
16 var_dump(dba_open($db_file, 'q', $handler));
17 var_dump(dba_open($db_file, 'nq', $handler));
18 var_dump(dba_open($db_file, 'n', $handler, 2, 3, 4, 5, 6, 7, 8));
25 database handler: flatfile
28 Warning: dba_open(%stest0.dbm,n): No such handler: bogus in %sdba011.php on line %d
H A Ddba_db4_003.phpt7 $handler = "db4";
9 die("info $HND handler used");
14 $handler = "db4";
16 echo "database handler: $handler\n";
20 if (($db_file = dba_open($db_filename, "c", $handler)) !== FALSE) {
41 database handler: db4
44 Warning: dba_open(%stest0.dbm,c): Driver initialization failed for handler: db4: Invalid argument i…
H A Ddba_db4_011.phpt7 $handler = "db4";
9 die("info $HND handler used");
13 $handler = "db4";
15 echo "database handler: $handler\n";
16 if (($db_file=dba_open($db_filename, "c", $handler))!==FALSE) {
33 database handler: db4
H A Ddba012.phpt7 $handler = "flatfile";
14 $handler = "flatfile";
16 echo "database handler: $handler\n";
36 database handler: flatfile
39 Warning: ini_set(): No such handler: does_not_exist in %sdba012.php on line %d
43 Warning: dba_open(%stest0.dbm,n): No default handler selected in %sdba012.php on line %d
/PHP-8.1/docs/
H A Doutput-api.md4 for every output handler op.
10 Starting the default output handler:
14 Starting an user handler by zval:
18 Starting an internal handler without context:
22 Starting an internal handler with context:
30 // php_ob_handler_used("output handler name");
77 Issue a warning because of an output handler conflict:
78 …// php_ob_init_conflict("to be started handler name", "to be tested if already started handler nam…
93 Disabling of the output handler by itself:
109 ## Output handler hooks
[all …]
/PHP-8.1/Zend/
H A Dzend_observer.c151 if (!*handler) { in _zend_observe_fcall_begin()
165 if (*handler == ZEND_OBSERVER_NOT_OBSERVED) { in _zend_observe_fcall_begin()
170 (*handler)(execute_data); in _zend_observe_fcall_begin()
171 } while (++handler != possible_handlers_end && *handler != NULL); in _zend_observe_fcall_begin()
214 if (!*handler || *handler == ZEND_OBSERVER_NOT_OBSERVED) { in zend_observer_fcall_end()
220 (*handler)(execute_data, return_value); in zend_observer_fcall_end()
221 } while (++handler != possible_handlers_end && *handler != NULL); in zend_observer_fcall_end()
259 ZEND_API void zend_observer_fiber_init_register(zend_observer_fiber_init_handler handler) in zend_observer_fiber_init_register() argument
261 zend_llist_add_element(&zend_observer_fiber_init, &handler); in zend_observer_fiber_init_register()
266 zend_llist_add_element(&zend_observer_fiber_switch, &handler); in zend_observer_fiber_switch_register()
[all …]
/PHP-8.1/ext/session/tests/
H A Dsession_set_save_handler_class_002.phpt2 Test session_set_save_handler() : full handler implementation
15 echo "*** Testing session_set_save_handler() : full handler implementation ***\n";
55 $handler = new MySession2;
56 session_set_save_handler(array($handler, 'open'), array($handler, 'close'),
57 …array($handler, 'read'), array($handler, 'write'), array($handler, 'destroy'), array($handler, 'gc…
73 session_set_save_handler($handler);
90 *** Testing session_set_save_handler() : full handler implementation ***
H A Dsession_set_save_handler_iface_002.phpt46 echo "Unsupported session handler in use\n";
67 global $handler;
68 echo "good handler writing\n";
69 return file_put_contents($handler->path . $id, $data);
72 $handler = new MySession2;
74 $ret = session_set_save_handler(array($handler, 'open'), array($handler, 'close'),
75 array($handler, 'read'), 'good_write', array($handler, 'destroy'), array($handler, 'gc'));
79 $ret = session_set_save_handler($handler);
90 good handler writing
H A Dsession_set_save_handler_class_014.phpt2 Test session_set_save_handler() : calling default handler when save_handler=user
17 echo "*** Testing session_set_save_handler() : calling default handler when save_handler=user ***\n…
20 $handler = new SessionHandler;
21 session_set_save_handler($handler);
26 Fatal error: PHP Startup: Session save handler "user" cannot be set by ini_set() in Unknown on line…
27 *** Testing session_set_save_handler() : calling default handler when save_handler=user ***

Completed in 133 milliseconds

12345678910>>...13