/PHP-8.2/main/ |
H A D | output.c | 543 if (handler->dtor && handler->opaq) { in php_output_handler_set_context() 544 handler->dtor(handler->opaq); in php_output_handler_set_context() 574 handler->level = zend_stack_push(&OG(handlers), &handler); in php_output_handler_start() 731 if (handler->dtor && handler->opaq) { in php_output_handler_dtor() 732 handler->dtor(handler->opaq); in php_output_handler_dtor() 734 memset(handler, 0, sizeof(*handler)); in php_output_handler_dtor() 886 handler->buffer.data = emalloc(handler->buffer.size); in php_output_handler_init() 904 handler->buffer.data = safe_erealloc(handler->buffer.data, 1, handler->buffer.size, grow_max); in php_output_handler_append() 911 if (handler->size && (handler->buffer.used >= handler->size)) { in php_output_handler_append() 938 handler, in php_output_handler_op() [all …]
|
/PHP-8.2/ext/xml/ |
H A D | xml.stub.php | 149 /** @param callable $handler */ 150 function xml_set_character_data_handler(XMLParser $parser, $handler): true {} argument 152 /** @param callable $handler */ 155 /** @param callable $handler */ 156 function xml_set_default_handler(XMLParser $parser, $handler): true {} argument 158 /** @param callable $handler */ 161 /** @param callable $handler */ 162 function xml_set_notation_decl_handler(XMLParser $parser, $handler): true {} argument 164 /** @param callable $handler */ 167 /** @param callable $handler */ [all …]
|
/PHP-8.2/Zend/tests/ |
H A D | bug63206.phpt | 7 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
|
H A D | bug63206_1.phpt | 7 echo 'First handler' . PHP_EOL; 11 echo 'Second handler' . PHP_EOL; 17 echo 'Fourth handler' . PHP_EOL; 26 Second handler
|
H A D | bug63206_2.phpt | 7 echo 'First handler' . PHP_EOL; 11 echo 'Second handler' . PHP_EOL; 17 echo 'Fourth handler' . PHP_EOL; 26 Second handler
|
/PHP-8.2/ext/dba/tests/ |
H A D | skipif.inc | 3 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 D | dba_db4_optimize.phpt | 9 $handler = "db4"; 11 die("info $HND handler used"); 15 $handler = "db4"; 17 echo "database handler: $handler\n"; 18 if (($db_file=dba_open($db_filename, "n", $handler))!==FALSE) { 37 database handler: db4
|
H A D | dba_db4_sync.phpt | 9 $handler = "db4"; 11 die("info $HND handler used"); 15 $handler = "db4"; 17 echo "database handler: $handler\n"; 18 if (($db_file=dba_open($db_filename, "n", $handler))!==FALSE) { 37 database handler: db4
|
H A D | dba_db4_009.phpt | 12 $handler = "db4"; 13 echo "database handler: $handler\n"; 16 $db_file1 = dba_open($db_file1, "n", $handler); 17 $db_file2 = dba_open($db_file2, "n", $handler); 31 database handler: db4
|
H A D | dba_db4_handlers.phpt | 9 $handler="db4"; 11 die("info $HND handler used"); 15 $handler="db4"; 17 echo "database handler: $handler\n"; 50 database handler: db4
|
H A D | dba_lmdb_readonly.phpt | 2 DBA LMDB handler readonly test 7 $handler = 'lmdb'; 12 $handler = 'lmdb'; 16 $db_file = dba_open($db_filename, "c", $handler); 18 // Close handler 22 $db_file = dba_open($db_filename, "r", $handler);
|
H A D | dba009.phpt | 8 print("info $HND handler used"); 15 echo "database handler: $handler\n"; 16 if (($db=dba_popen($db_file, "n", $handler))!==FALSE) { 25 if (($db=dba_popen($db_file, "n", $handler))!==FALSE) { 36 database handler: %s
|
H A D | default_handler_ini.phpt | 14 $handler = "flatfile"; 16 echo "database handler: $handler\n"; 38 database handler: flatfile 41 Warning: ini_set(): No such handler: does_not_exist in %s on line %d 45 Warning: dba_open(): No default handler selected in %s on line %d
|
H A D | dba007.phpt | 9 die("info $HND handler used"); 16 echo "database handler: $handler\n"; 19 if (($db_file=dba_open($db_file, "n", $handler))!==FALSE) { 24 if (($db_file1=dba_open($db_file1, "n", $handler))!==FALSE) { 29 if (($db_file2=dba_open($db_file2, "n", $handler))!==FALSE) { 45 database handler: %s
|
H A D | dba_handlers.phpt | 9 $handler="flatfile"; 11 die("info $HND handler used"); 15 $handler="flatfile"; 17 echo "database handler: $handler\n"; 58 database handler: flatfile
|
H A D | dba_gdbm_creation_matrix.phpt | 14 $handler = 'gdbm'; 15 run_creation_tests($handler); 21 $handler = 'gdbm'; 22 clean_creation_tests($handler); 38 Warning: dba_open(): Locking cannot be disabled for handler gdbm in %s on line %d 56 Warning: dba_open(): Locking cannot be disabled for handler gdbm in %s on line %d 70 Warning: dba_open(): Locking cannot be disabled for handler gdbm in %s on line %d 82 Warning: dba_open(): Locking cannot be disabled for handler gdbm in %s on line %d 99 Warning: dba_open(): Locking cannot be disabled for handler gdbm in %s on line %d 113 Warning: dba_open(): Locking cannot be disabled for handler gdbm in %s on line %d [all …]
|
H A D | dba_qdbm_creation_matrix.phpt | 14 $handler = 'qdbm'; 15 run_creation_tests($handler); 21 $handler = 'qdbm'; 22 clean_creation_tests($handler); 38 Warning: dba_open(): Locking cannot be disabled for handler qdbm in %s on line %d 56 Warning: dba_open(): Locking cannot be disabled for handler qdbm in %s on line %d 70 Warning: dba_open(): Locking cannot be disabled for handler qdbm in %s on line %d 82 Warning: dba_open(): Locking cannot be disabled for handler qdbm in %s on line %d 99 Warning: dba_open(): Locking cannot be disabled for handler qdbm in %s on line %d 113 Warning: dba_open(): Locking cannot be disabled for handler qdbm in %s on line %d [all …]
|
/PHP-8.2/docs/ |
H A D | output-api.md | 4 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.2/ext/dba/tests/setup/ |
H A D | setup_dba_tests.inc | 15 function check_skip(string $handler) { 20 if (!in_array($handler, $handlers)) { 21 $HND = strtoupper($handler); 27 foreach (dba_handlers() as $handler) { 29 if ($handler !== 'cdb' && $handler !== 'cdb_make' && $handler !== 'inifile') { 30 echo 'Using handler: "', $handler, '"', \PHP_EOL; 31 return $handler; 74 // Close creation/truncation handler 92 set_up_db($handler, $name, $lock); 162 if ($handler == 'dbm' || $handler == "tcadb") { [all …]
|
/PHP-8.2/ext/session/tests/ |
H A D | session_set_save_handler_class_002.phpt | 2 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 D | session_set_save_handler_iface_002.phpt | 46 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 D | session_set_save_handler_class_014.phpt | 2 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 ***
|
H A D | gh7787.phpt | 53 $handler = new MySessionHandler(); 54 session_set_save_handler($handler); 84 …(): Failed to write session data using user defined save handler. (session.save_path: , handler: M… 86 …(): Failed to write session data using user defined save handler. (session.save_path: , handler: M… 88 …(): Failed to write session data using user defined save handler. (session.save_path: , handler: w… 90 …(): Failed to write session data using user defined save handler. (session.save_path: , handler: u…
|
H A D | session_set_save_handler_sid_001.phpt | 59 $handler = new MySession2; 60 session_set_save_handler(array($handler, 'open'), array($handler, 'close'), 61 …array($handler, 'read'), array($handler, 'write'), array($handler, 'destroy'), array($handler, 'gc…
|
/PHP-8.2/tests/output/ |
H A D | ob_020.phpt | 25 [0] => default output handler 29 [0] => default output handler 30 [1] => default output handler 34 [0] => default output handler
|