/PHP-8.0/ext/xml/ |
H A D | xml.stub.php | 17 /** @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.0/main/ |
H A D | output.c | 538 if (handler->dtor && handler->opaq) { in php_output_handler_set_context() 539 handler->dtor(handler->opaq); in php_output_handler_set_context() 569 handler->level = zend_stack_push(&OG(handlers), &handler); in php_output_handler_start() 726 if (handler->dtor && handler->opaq) { in php_output_handler_dtor() 727 handler->dtor(handler->opaq); in php_output_handler_dtor() 729 memset(handler, 0, sizeof(*handler)); in php_output_handler_dtor() 881 handler->buffer.data = emalloc(handler->buffer.size); in php_output_handler_init() 899 handler->buffer.data = safe_erealloc(handler->buffer.data, 1, handler->buffer.size, grow_max); in php_output_handler_append() 906 if (handler->size && (handler->buffer.used >= handler->size)) { in php_output_handler_append() 933 handler, in php_output_handler_op() [all …]
|
/PHP-8.0/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
|
/PHP-8.0/ext/dba/tests/ |
H A D | skipif.inc | 5 if (!isset($handler)) { 8 $handler = 'flatfile'; 12 die('skip no handler available that can be used for the test'); 14 $handler = array_shift($handlers); 17 if (!in_array($handler, dba_handlers())) { 18 $HND = strtoupper($handler); 19 die("skip $HND handler not available"); 22 $HND = strtoupper($handler);
|
H A D | dba_db4_012.phpt | 5 $handler = "db4"; 7 die("info $HND handler used"); 12 $handler = "db4"; 14 echo "database handler: $handler\n"; 15 if (($db_file = dba_open($db_filename, "rl", $handler)) !== FALSE) { 28 database handler: db4 30 Warning: dba_open(%stest0.dbm,rl): Driver initialization failed for handler: db4: No such file or d…
|
H A D | dba_db4_014.phpt | 5 $handler = "db4"; 7 die("info $HND handler used"); 12 $handler = "db4"; 14 echo "database handler: $handler\n"; 16 if (($db_file = dba_open($db_filename, "wl", $handler)) !== FALSE) { 29 database handler: db4 31 Warning: dba_open(%stest0.dbm,wl): Driver initialization failed for handler: db4: No such file or d…
|
H A D | dba_db4_015.phpt | 5 $handler = "db4"; 7 die("info $HND handler used"); 12 $handler = "db4"; 14 echo "database handler: $handler\n"; 16 if (($db_file = dba_popen($db_filename, "c", $handler)) !== FALSE) { 21 if (($db_file = dba_popen($db_filename, "wl", $handler)) !== FALSE) { 36 database handler: db4
|
H A D | dba_db4_007.phpt | 5 $handler = "db4"; 7 die("info $HND handler used"); 12 $handler = "db4"; 14 echo "database handler: $handler\n"; 18 if (($db_file = dba_popen($db_filename, "c", $handler)) !== FALSE) { 35 database handler: db4 38 Warning: dba_popen(%stest0.dbm,c): Driver initialization failed for handler: db4: Invalid argument …
|
H A D | dba_db4_002.phpt | 5 $handler = "db4"; 7 die("info $HND handler used"); 12 $handler = "db4"; 14 echo "database handler: $handler\n"; 15 if (($db_file = dba_open($db_filename, "n", $handler)) !== FALSE) { 30 database handler: db4
|
H A D | dba_db4_005.phpt | 5 $handler = "db4"; 7 die("info $HND handler used"); 12 $handler = "db4"; 14 echo "database handler: $handler\n"; 15 if (($db_file = dba_popen($db_filename, "c", $handler)) !== FALSE) { 30 database handler: db4
|
H A D | dba_db4_006.phpt | 5 $handler = "db4"; 7 die("info $HND handler used"); 12 $handler = "db4"; 14 echo "database handler: $handler\n"; 15 if (($db_file = dba_popen($db_filename, "n", $handler)) !== FALSE) { 30 database handler: db4
|
H A D | dba_db4_001.phpt | 5 $handler = "db4"; 7 die("info $HND handler used"); 12 $handler = "db4"; 14 echo "database handler: $handler\n"; 15 if (($db_file = dba_open($db_filename, "c", $handler)) !== FALSE) { 30 database handler: db4
|
H A D | dba_db4_optimize.phpt | 5 $handler = "db4"; 7 die("info $HND handler used"); 11 $handler = "db4"; 13 echo "database handler: $handler\n"; 14 if (($db_file=dba_open($db_filename, "n", $handler))!==FALSE) { 33 database handler: db4
|
H A D | dba_db4_sync.phpt | 5 $handler = "db4"; 7 die("info $HND handler used"); 11 $handler = "db4"; 13 echo "database handler: $handler\n"; 14 if (($db_file=dba_open($db_filename, "n", $handler))!==FALSE) { 33 database handler: db4
|
H A D | dba_db4_009.phpt | 5 $handler = "db4"; 7 die("info $HND handler used"); 11 $handler = "db4"; 13 echo "database handler: $handler\n"; 16 if (($db_file=dba_open($db_file, "n", $handler))!==FALSE) { 21 if (($db_file1=dba_open($db_file1, "n", $handler))!==FALSE) { 26 if (($db_file2=dba_open($db_file2, "n", $handler))!==FALSE) { 42 database handler: db4
|
H A D | dba_db4_003.phpt | 5 $handler = "db4"; 7 die("info $HND handler used"); 12 $handler = "db4"; 14 echo "database handler: $handler\n"; 18 if (($db_file = dba_open($db_filename, "c", $handler)) !== FALSE) { 39 database handler: db4 42 Warning: dba_open(%stest0.dbm,c): Driver initialization failed for handler: db4: Invalid argument i…
|
H A D | dba_db4_013.phpt | 5 $handler = "db4"; 7 die("info $HND handler used"); 12 $handler = "db4"; 14 echo "database handler: $handler\n"; 16 if (($db_file = dba_popen($db_filename, "c", $handler)) !== FALSE) { 21 if (($db_file = dba_popen($db_filename, "rl", $handler)) !== FALSE) { 36 database handler: db4
|
H A D | dba011.phpt | 6 die("info $HND handler used"); 11 echo "database handler: $handler\n"; 14 var_dump(dba_open($db_file, 'q', $handler)); 15 var_dump(dba_open($db_file, 'nq', $handler)); 16 var_dump(dba_open($db_file, 'n', $handler, 2, 3, 4, 5, 6, 7, 8)); 23 database handler: flatfile 26 Warning: dba_open(%stest0.dbm,n): No such handler: bogus in %sdba011.php on line %d
|
H A D | dba_db4_011.phpt | 5 $handler = "db4"; 7 die("info $HND handler used"); 11 $handler = "db4"; 13 echo "database handler: $handler\n"; 14 if (($db_file=dba_open($db_filename, "c", $handler))!==FALSE) { 31 database handler: db4
|
H A D | dba_db4_004.phpt | 5 $handler = "db4"; 7 die("info $HND handler used"); 12 $handler = "db4"; 14 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_008.phpt | 5 $handler = "db4"; 7 die("info $HND handler used"); 12 $handler = "db4"; 14 echo "database handler: $handler\n"; 18 if (($db_file = dba_popen($db_filename, "n", $handler)) !== FALSE) { 37 database handler: db4
|
/PHP-8.0/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.0/ext/session/tests/ |
H A D | session_set_save_handler_class_002.phpt | 2 Test session_set_save_handler() : full handler implementation 13 echo "*** Testing session_set_save_handler() : full handler implementation ***\n"; 53 $handler = new MySession2; 54 session_set_save_handler(array($handler, 'open'), array($handler, 'close'), 55 …array($handler, 'read'), array($handler, 'write'), array($handler, 'destroy'), array($handler, 'gc… 71 session_set_save_handler($handler); 88 *** Testing session_set_save_handler() : full handler implementation ***
|
H A D | session_set_save_handler_iface_002.phpt | 44 echo "Unsupported session handler in use\n"; 62 global $handler; 63 echo "good handler writing\n"; 64 return file_put_contents($handler->path . $id, $data); 67 $handler = new MySession2; 69 $ret = session_set_save_handler(array($handler, 'open'), array($handler, 'close'), 70 array($handler, 'read'), 'good_write', array($handler, 'destroy'), array($handler, 'gc')); 74 $ret = session_set_save_handler($handler); 85 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 15 echo "*** Testing session_set_save_handler() : calling default handler when save_handler=user ***\n… 18 $handler = new SessionHandler; 19 session_set_save_handler($handler); 24 Fatal error: PHP Startup: Session save handler "user" cannot be set by ini_set() in Unknown on line… 25 *** Testing session_set_save_handler() : calling default handler when save_handler=user ***
|