下载
文档
参与
帮助
全栈开发网
基金会
Search docs
PHP 8.4.2 Released!
Getting Started
Introduction
A simple tutorial
Language Reference
Basic syntax
Types
Variables
Constants
Expressions
Operators
Control Structures
Functions
Classes and Objects
Namespaces
Enumerations
Errors
Exceptions
Fibers
Generators
Attributes
References Explained
Predefined Variables
Predefined Exceptions
Predefined Interfaces and Classes
Predefined Attributes
Context options and parameters
Supported Protocols and Wrappers
Security
Introduction
General considerations
Installed as CGI binary
Installed as an Apache module
Session Security
Filesystem Security
Database Security
Error Reporting
User Submitted Data
Hiding PHP
Keeping Current
Features
HTTP authentication with PHP
Cookies
Sessions
Handling file uploads
Using remote files
Connection handling
Persistent Database Connections
Command line usage
Garbage Collection
DTrace Dynamic Tracing
Function Reference
Affecting PHP's Behaviour
Audio Formats Manipulation
Authentication Services
Command Line Specific Extensions
Compression and Archive Extensions
Cryptography Extensions
Database Extensions
Date and Time Related Extensions
File System Related Extensions
Human Language and Character Encoding Support
Image Processing and Generation
Mail Related Extensions
Mathematical Extensions
Non-Text MIME Output
Process Control Extensions
Other Basic Extensions
Other Services
Search Engine Extensions
Server Specific Extensions
Session Extensions
Text Processing
Variable and Type Related Extensions
Web Services
Windows Only Extensions
XML Manipulation
GUI Extensions
Keyboard Shortcuts
?
This help
j
Next menu item
k
Previous menu item
g p
Previous man page
g n
Next man page
G
Scroll to bottom
g g
Scroll to top
g h
Goto homepage
g s
Goto search
(current page)
/
Focus search box
Swoole\Coroutine::call_user_func »
« Swoole\Connection\Iterator::valid
Посібник з PHP
Довідник функцій
Інші базові розширення
Swoole
Change language:
English
German
Spanish
French
Italian
Japanese
Brazilian Portuguese
Russian
Turkish
Ukrainian
Chinese (Simplified)
Other
The Swoole\Coroutine class
(PECL swoole >= 2.0.0)
Вступ
Короткий огляд класу
class
Swoole\Coroutine
{
/* Методи */
public
static
call_user_func
(
callable
$callback
,
mixed
...$args
):
mixed
public
static
call_user_func_array
(
callable
$callback
,
array
$param_array
):
mixed
public
static
cli_wait
():
ReturnType
public
static
create
():
ReturnType
public
Swoole\Coroutine\Client::close
():
ReturnType
public
Swoole\Coroutine\Client::connect
():
ReturnType
public
Swoole\Coroutine\Client::__destruct
():
ReturnType
public
Swoole\Coroutine\Client::getpeername
():
ReturnType
public
Swoole\Coroutine\Client::getsockname
():
ReturnType
public
Swoole\Coroutine\Client::isConnected
():
ReturnType
public
Swoole\Coroutine\Client::recv
():
ReturnType
public
Swoole\Coroutine\Client::send
():
ReturnType
public
Swoole\Coroutine\Client::sendfile
():
ReturnType
public
Swoole\Coroutine\Client::sendto
():
ReturnType
public
Swoole\Coroutine\Client::set
():
ReturnType
public
Swoole\Coroutine\Http\Client::addFile
():
ReturnType
public
Swoole\Coroutine\Http\Client::close
():
ReturnType
public
Swoole\Coroutine\Http\Client::__destruct
():
ReturnType
public
Swoole\Coroutine\Http\Client::execute
():
ReturnType
public
Swoole\Coroutine\Http\Client::get
():
ReturnType
public
Swoole\Coroutine\Http\Client::getDefer
():
ReturnType
public
Swoole\Coroutine\Http\Client::isConnected
():
ReturnType
public
Swoole\Coroutine\Http\Client::post
():
ReturnType
public
Swoole\Coroutine\Http\Client::recv
():
ReturnType
public
Swoole\Coroutine\Http\Client::set
():
ReturnType
public
Swoole\Coroutine\Http\Client::setCookies
():
ReturnType
public
Swoole\Coroutine\Http\Client::setData
():
ReturnType
public
Swoole\Coroutine\Http\Client::setDefer
():
ReturnType
public
Swoole\Coroutine\Http\Client::setHeaders
():
ReturnType
public
Swoole\Coroutine\Http\Client::setMethod
():
ReturnType
public
Swoole\Coroutine\MySQL::close
():
ReturnType
public
Swoole\Coroutine\MySQL::connect
():
ReturnType
public
Swoole\Coroutine\MySQL::__destruct
():
ReturnType
public
Swoole\Coroutine\MySQL::getDefer
():
ReturnType
public
Swoole\Coroutine\MySQL::query
():
ReturnType
public
Swoole\Coroutine\MySQL::recv
():
ReturnType
public
Swoole\Coroutine\MySQL::setDefer
():
ReturnType
public
static
getuid
():
ReturnType
public
static
resume
():
ReturnType
public
static
suspend
():
ReturnType
}
Зміст
Swoole\Coroutine::call_user_func
— Call a callback given by the first parameter
Swoole\Coroutine::call_user_func_array
— Call a callback with an array of parameters
Swoole\Coroutine::cli_wait
— Description
Swoole\Coroutine::create
— Description
Swoole\Coroutine\Client::close
— Description
Swoole\Coroutine\Client::connect
— Description
Swoole\Coroutine\Client::__construct
— Description
Swoole\Coroutine\Client::__destruct
— Description
Swoole\Coroutine\Client::getpeername
— Description
Swoole\Coroutine\Client::getsockname
— Description
Swoole\Coroutine\Client::isConnected
— Description
Swoole\Coroutine\Client::recv
— Description
Swoole\Coroutine\Client::send
— Description
Swoole\Coroutine\Client::sendfile
— Description
Swoole\Coroutine\Client::sendto
— Description
Swoole\Coroutine\Client::set
— Description
Swoole\Coroutine\Http\Client::addFile
— Description
Swoole\Coroutine\Http\Client::close
— Description
Swoole\Coroutine\Http\Client::__construct
— Description
Swoole\Coroutine\Http\Client::__destruct
— Description
Swoole\Coroutine\Http\Client::execute
— Description
Swoole\Coroutine\Http\Client::get
— Description
Swoole\Coroutine\Http\Client::getDefer
— Description
Swoole\Coroutine\Http\Client::isConnected
— Description
Swoole\Coroutine\Http\Client::post
— Description
Swoole\Coroutine\Http\Client::recv
— Description
Swoole\Coroutine\Http\Client::set
— Description
Swoole\Coroutine\Http\Client::setCookies
— Description
Swoole\Coroutine\Http\Client::setData
— Description
Swoole\Coroutine\Http\Client::setDefer
— Description
Swoole\Coroutine\Http\Client::setHeaders
— Description
Swoole\Coroutine\Http\Client::setMethod
— Description
Swoole\Coroutine\MySQL::close
— Description
Swoole\Coroutine\MySQL::connect
— Description
Swoole\Coroutine\MySQL::__construct
— Description
Swoole\Coroutine\MySQL::__destruct
— Description
Swoole\Coroutine\MySQL::getDefer
— Description
Swoole\Coroutine\MySQL::query
— Description
Swoole\Coroutine\MySQL::recv
— Description
Swoole\Coroutine\MySQL::setDefer
— Description
Swoole\Coroutine::getuid
— Description
Swoole\Coroutine::resume
— Description
Swoole\Coroutine::suspend
— Description
Found A Problem?
Learn How To Improve This Page
•
Submit a Pull Request
•
Report a Bug
+
add a note
User Contributed Notes
There are no user contributed notes for this page.
↑
and
↓
to navigate •
Enter
to select •
Esc
to close
Press
Enter
without selection to search using Google