array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'it', ), 'this' => array ( 0 => 'function.swoole-event-set.php', 1 => 'swoole_event_set', 2 => 'Update the event callback functions of a socket', ), 'up' => array ( 0 => 'ref.swoole-funcs.php', 1 => 'Swoole Funzioni', ), 'prev' => array ( 0 => 'function.swoole-event-exit.php', 1 => 'swoole_event_exit', ), 'next' => array ( 0 => 'function.swoole-event-wait.php', 1 => 'swoole_event_wait', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/swoole/functions/swoole-event-set.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>
(PECL swoole >= 1.9.0)
swoole_event_set — Update the event callback functions of a socket
$fd
,$read_callback
= ?,$write_callback
= ?,$events
= 0
fd
read_callback
write_callback
events