Home
last modified time | relevance | path

Searched refs:callback (Results 1 – 25 of 344) sorted by last modified time

12345678910>>...14

/PHP-5.5/tests/output/
H A Dob_start_basic_002.phpt2 ob_start(): Check behaviour with various callback return values.
25 // Use each of the above functions as an output buffering callback:
29 foreach ($callbacks as $callback) {
30 echo "--> Use callback '$callback':\n";
31 ob_start($callback);
40 --> Use callback 'return_empty_string':
43 --> Use callback 'return_false':
46 --> Use callback 'return_null':
49 --> Use callback 'return_string':
52 --> Use callback 'return_zero':
H A Dob_start_basic_004.phpt12 function callback($string) {
22 ob_start('callback', $cs);
30 ob_start('callback', $cs);
H A Dob_start_basic_unerasable_001.phpt5 function callback($string) {
8 return "[callback:$callback_invocations]$string\n";
11 ob_start('callback', 0, false);
19 [callback:1]This call will obtain the content:
H A Dob_start_basic_unerasable_002.phpt5 function callback($string) {
8 return "[callback:$callback_invocations]$string\n";
11 ob_start('callback', 0, false);
22 [callback:1]All of the following calls will fail to clean/remove the topmost buffer:
24 Notice: ob_clean(): failed to delete buffer of callback (0) in %s on line 11
27 Notice: ob_end_clean(): failed to discard buffer of callback (0) in %s on line 12
30 Notice: ob_end_flush(): failed to send buffer of callback (0) in %s on line 13
H A Dob_start_basic_unerasable_003.phpt5 function callback($string) {
8 return "[callback:$callback_invocations]$string\n";
11 ob_start('callback', 0, false);
18 [callback:1]This call will obtain the content, but will not clean the buffer.
19 Notice: ob_get_clean(): failed to discard buffer of callback (0) in %s on line 11
21 Notice: ob_get_clean(): failed to delete buffer of callback (0) in %s on line 11
H A Dob_start_basic_unerasable_004.phpt5 function callback($string) {
8 return "[callback:$callback_invocations]$string\n";
11 ob_start('callback', 0, false);
18 [callback:1]This call will obtain the content, but will not flush the buffer.
19 Notice: ob_get_flush(): failed to send buffer of callback (0) in %s on line 11
21 Notice: ob_get_flush(): failed to delete buffer of callback (0) in %s on line 11
H A Dob_start_error_004.phpt2 Test ob_start() with non existent callback method.
H A Dob_start_error_005.phpt2 ob_start(): ensure buffers can't be added from within callback.
H A Dob_014.phpt8 // It is invoked with 2 params when used as an OB callback.
H A Dob_015.phpt8 // It is invoked with 2 params when used as an OB callback.
/PHP-5.5/tests/lang/
H A Dcompare_objects_basic2.phpt10 echo "Simple test comparing two objects with different compare callback handler\n";
22 Simple test comparing two objects with different compare callback handler
/PHP-5.5/tests/classes/
H A Dtype_hinting_004.phpt11 echo "---> Type hints with callback function:\n";
27 echo "\n\n---> Type hints with callback static method:\n";
52 echo "\n\n---> Type hints with callback instance method:\n";
79 ---> Type hints with callback function:
90 ---> Type hints with callback static method:
101 ---> Type hints with callback instance method:
H A Dautoload_012.phpt2 Ensure callback methods in unknown classes trigger autoload.
15 Warning: call_user_func() expects parameter 1 to be a valid callback, class 'UndefC' not found in %…
H A Dbug27504.phpt23 Warning: call_user_func_array() expects parameter 1 to be a valid callback, cannot access private m…
H A D__call_006.phpt46 echo "\n\n---> Invoke __call via callback.\n";
73 ---> Invoke __call via callback.
H A D__call_007.phpt46 echo "\n\n---> Invoke __call via callback.\n";
71 ---> Invoke __call via callback.
/PHP-5.5/sapi/roxen/
H A DTODO22 callback!/usr/local/pike/7.0.54/lib/modules/PHP5.so.Interpreter:
/PHP-5.5/sapi/fpm/fpm/
H A Dfpm_events.c463 if (!ev || !ev->callback) { in fpm_event_fire()
467 (*ev->callback)( (struct fpm_event_s *) ev, ev->which, ev->arg); in fpm_event_fire()
471 int fpm_event_set(struct fpm_event_s *ev, int fd, int flags, void (*callback)(struct fpm_event_s *,… in fpm_event_set()
473 if (!ev || !callback || fd < -1) { in fpm_event_set()
478 ev->callback = callback; in fpm_event_set()
H A Dfpm_events.h19 void (*callback)(struct fpm_event_s *, short, void *); member
45 int fpm_event_set(struct fpm_event_s *ev, int fd, int flags, void (*callback)(struct fpm_event_s *,…
/PHP-5.5/sapi/cli/
H A Dphp_cli_server.c910 …poller_iter_on_active(php_cli_server_poller *poller, void *opaque, int(*callback)(void *, int fd, … in php_cli_server_poller_iter_on_active()
948 if (SUCCESS != callback(opaque, e->fd, e->events)) { in php_cli_server_poller_iter_on_active()
960 if (SUCCESS != callback(opaque, fd, POLLIN)) { in php_cli_server_poller_iter_on_active()
965 if (SUCCESS != callback(opaque, fd, POLLOUT)) { in php_cli_server_poller_iter_on_active()
/PHP-5.5/sapi/cli/tests/
H A D006.phpt91 Parameter #1 [ <required> $callback ]
/PHP-5.5/
H A Dphp.ini-development281 ; The unserialize callback function will be called (with the undefined class'
286 ; callback-function.
1662 ; http://php.net/assert.callback
1663 ;assert.callback = 0
H A Dphp.ini-production281 ; The unserialize callback function will be called (with the undefined class'
286 ; callback-function.
1662 ; http://php.net/assert.callback
1663 ;assert.callback = 0
/PHP-5.5/ext/xmlrpc/tests/
H A Dbug47818.phpt2 Bug #47818 (Segfault due to bound callback param)
/PHP-5.5/ext/xml/tests/
H A Dxml_set_notation_decl_handler_basic.phpt11 /* Prototype : proto bool xml_set_notation_decl_handler ( resource $parser , callback $handler )

Completed in 58 milliseconds

12345678910>>...14