123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327 |
- <?php
- /**
- * @return mixed
- */
- function swoole_version(){}
- /**
- * @return mixed
- */
- function swoole_cpu_num(){}
- /**
- * @return mixed
- */
- function swoole_last_error(){}
- /**
- * @param $domain_name[required]
- * @param $timeout[optional]
- * @return mixed
- */
- function swoole_async_dns_lookup_coro($domain_name, $timeout = null){}
- /**
- * @param $settings[required]
- * @return mixed
- */
- function swoole_async_set($settings){}
- /**
- * @param $func[required]
- * @param $params[optional]
- * @return mixed
- */
- function swoole_coroutine_create($func, $params = null){}
- /**
- * @param $callback[required]
- * @return mixed
- */
- function swoole_coroutine_defer($callback){}
- /**
- * @param $domain[required]
- * @param $type[required]
- * @param $protocol[required]
- * @return mixed
- */
- function swoole_coroutine_socketpair($domain, $type, $protocol){}
- /**
- * @param $count[optional]
- * @param $sleep_time[optional]
- * @return mixed
- */
- function swoole_test_kernel_coroutine($count = null, $sleep_time = null){}
- /**
- * @param $read_array[required]
- * @param $write_array[required]
- * @param $error_array[required]
- * @param $timeout[optional]
- * @return mixed
- */
- function swoole_client_select(&$read_array, &$write_array, &$error_array, $timeout = null){}
- /**
- * @param $read_array[required]
- * @param $write_array[required]
- * @param $error_array[required]
- * @param $timeout[optional]
- * @return mixed
- */
- function swoole_select(&$read_array, &$write_array, &$error_array, $timeout = null){}
- /**
- * @param $process_name[required]
- * @return mixed
- */
- function swoole_set_process_name($process_name){}
- /**
- * @return mixed
- */
- function swoole_get_local_ip(){}
- /**
- * @return mixed
- */
- function swoole_get_local_mac(){}
- /**
- * @param $errno[required]
- * @param $error_type[optional]
- * @return mixed
- */
- function swoole_strerror($errno, $error_type = null){}
- /**
- * @return mixed
- */
- function swoole_errno(){}
- /**
- * @return mixed
- */
- function swoole_clear_error(){}
- /**
- * @param $level[required]
- * @param $msg[required]
- * @return mixed
- */
- function swoole_error_log($level, $msg){}
- /**
- * @param $data[required]
- * @param $type[optional]
- * @return mixed
- */
- function swoole_hashcode($data, $type = null){}
- /**
- * @param $suffix[required]
- * @param $mime_type[required]
- * @return mixed
- */
- function swoole_mime_type_add($suffix, $mime_type){}
- /**
- * @param $suffix[required]
- * @param $mime_type[required]
- * @return mixed
- */
- function swoole_mime_type_set($suffix, $mime_type){}
- /**
- * @param $suffix[required]
- * @return mixed
- */
- function swoole_mime_type_delete($suffix){}
- /**
- * @param $filename[required]
- * @return mixed
- */
- function swoole_mime_type_get($filename){}
- /**
- * @param $filename[required]
- * @return mixed
- */
- function swoole_get_mime_type($filename){}
- /**
- * @param $filename[required]
- * @return mixed
- */
- function swoole_mime_type_exists($filename){}
- /**
- * @return mixed
- */
- function swoole_mime_type_list(){}
- /**
- * @return mixed
- */
- function swoole_clear_dns_cache(){}
- /**
- * @param $str[required]
- * @param $offset[required]
- * @param $length[optional]
- * @param $options[optional]
- * @return mixed
- */
- function swoole_substr_unserialize($str, $offset, $length = null, $options = null){}
- /**
- * @param $json[required]
- * @param $offset[required]
- * @param $length[optional]
- * @param $associative[optional]
- * @param $depth[optional]
- * @param $flags[optional]
- * @return mixed
- */
- function swoole_substr_json_decode($json, $offset, $length = null, $associative = null, $depth = null, $flags = null){}
- /**
- * @return mixed
- */
- function swoole_internal_call_user_shutdown_begin(){}
- /**
- * @param $func[required]
- * @return mixed
- */
- function go($func){}
- /**
- * @param $callback[required]
- * @return mixed
- */
- function defer($callback){}
- /**
- * @param $fd[required]
- * @param $read_callback[required]
- * @param $write_callback[optional]
- * @param $events[optional]
- * @return mixed
- */
- function swoole_event_add($fd, $read_callback, $write_callback = null, $events = null){}
- /**
- * @param $fd[required]
- * @return mixed
- */
- function swoole_event_del($fd){}
- /**
- * @param $fd[required]
- * @param $read_callback[optional]
- * @param $write_callback[optional]
- * @param $events[optional]
- * @return mixed
- */
- function swoole_event_set($fd, $read_callback = null, $write_callback = null, $events = null){}
- /**
- * @param $fd[required]
- * @param $events[optional]
- * @return mixed
- */
- function swoole_event_isset($fd, $events = null){}
- /**
- * @return mixed
- */
- function swoole_event_dispatch(){}
- /**
- * @param $callback[required]
- * @return mixed
- */
- function swoole_event_defer($callback){}
- /**
- * @param $callback[required]
- * @param $before[optional]
- * @return mixed
- */
- function swoole_event_cycle($callback, $before = null){}
- /**
- * @param $fd[required]
- * @param $data[required]
- * @return mixed
- */
- function swoole_event_write($fd, $data){}
- /**
- * @return mixed
- */
- function swoole_event_wait(){}
- /**
- * @return mixed
- */
- function swoole_event_exit(){}
- /**
- * @param $settings[required]
- * @return mixed
- */
- function swoole_timer_set($settings){}
- /**
- * @param $ms[required]
- * @param $callback[required]
- * @return mixed
- */
- function swoole_timer_after($ms, $callback){}
- /**
- * @param $ms[required]
- * @param $callback[required]
- * @return mixed
- */
- function swoole_timer_tick($ms, $callback){}
- /**
- * @param $timer_id[required]
- * @return mixed
- */
- function swoole_timer_exists($timer_id){}
- /**
- * @param $timer_id[required]
- * @return mixed
- */
- function swoole_timer_info($timer_id){}
- /**
- * @return mixed
- */
- function swoole_timer_stats(){}
- /**
- * @return mixed
- */
- function swoole_timer_list(){}
- /**
- * @param $timer_id[required]
- * @return mixed
- */
- function swoole_timer_clear($timer_id){}
- /**
- * @return mixed
- */
- function swoole_timer_clear_all(){}
|