/php-src/main/ |
H A D | output.c | 522 if (handler->dtor && handler->opaq) { in php_output_handler_set_context() 523 handler->dtor(handler->opaq); in php_output_handler_set_context() 553 handler->level = zend_stack_push(&OG(handlers), &handler); in php_output_handler_start() 710 if (handler->dtor && handler->opaq) { in php_output_handler_dtor() 711 handler->dtor(handler->opaq); in php_output_handler_dtor() 713 memset(handler, 0, sizeof(*handler)); in php_output_handler_dtor() 865 handler->buffer.data = emalloc(handler->buffer.size); in php_output_handler_init() 883 handler->buffer.data = safe_erealloc(handler->buffer.data, 1, handler->buffer.size, grow_max); in php_output_handler_append() 890 if (handler->size && (handler->buffer.used >= handler->size)) { in php_output_handler_append() 917 handler, in php_output_handler_op() [all …]
|
/php-src/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 | gh13446_2.phpt | 2 GH-13446: Exception handler attempting to free itself 6 $handler = function ($ex) use (&$handler, $x) { 7 $handler = null; 11 set_exception_handler($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-src/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 46 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 …]
|
/php-src/docs-old/ |
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-src/ext/xml/tests/ |
H A D | set_element_handler_trampoline.phpt | 17 echo 'Method end handler: ', $tag, PHP_EOL; 47 echo "\nStart handler is trampoline, end handler method string:\n"; 54 echo "\nEnd handler is trampoline, start handler method string:\n"; 77 Start handler is trampoline, end handler method string: 86 Method end handler: B 89 Method end handler: C 90 Method end handler: A 92 End handler is trampoline, start handler method string: 97 Method start handler: A 98 Method start handler: B [all …]
|
/php-src/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); 177 if ($handler == 'dbm' || $handler == "tcadb") { [all …]
|
/php-src/ext/session/tests/user_session_module/ |
H A D | session_set_save_handler_class_014.phpt | 2 Test session_set_save_handler() : calling default handler when save_handler=user 13 echo "*** Testing session_set_save_handler() : calling default handler when save_handler=user ***\n… 16 $handler = new SessionHandler; 17 session_set_save_handler($handler); 22 Fatal error: PHP Startup: Session save handler "user" cannot be set by ini_set() in Unknown on line… 23 *** Testing session_set_save_handler() : calling default handler when save_handler=user ***
|
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 | 41 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); 87 good handler writing
|
H A D | gh7787.phpt | 50 $handler = new MySessionHandler(); 51 session_set_save_handler($handler); 81 …): Failed to write session data using user defined save handler. (session.save_path: %S, handler: … 83 …): Failed to write session data using user defined save handler. (session.save_path: %S, handler: … 87 …): Failed to write session data using user defined save handler. (session.save_path: %S, handler: … 89 …): Failed to write session data using user defined save handler. (session.save_path: %S, handler: …
|
H A D | session_set_save_handler_sid_001.phpt | 54 $handler = new MySession2; 55 session_set_save_handler(array($handler, 'open'), array($handler, 'close'), 56 …array($handler, 'read'), array($handler, 'write'), array($handler, 'destroy'), array($handler, 'gc…
|
/php-src/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
|