Downloads
Documentation
Get Involved
Help
Search docs
PHP Conference Nagoya 2025
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
はじめに »
« eio_write
PHP マニュアル
関数リファレンス
プロセス制御
Change language:
English
German
Spanish
French
Italian
Japanese
Brazilian Portuguese
Russian
Turkish
Ukrainian
Chinese (Simplified)
Other
Ev
はじめに
インストール/設定
要件
インストール手順
例
ウォッチャー
ウォッチャーのコールバック
Periodic ウォッチャーの操作モード
Ev
— Ev クラス
Ev::backend
— libev が使うバックエンドを表す整数値を返す
Ev::depth
— 再帰の深さを返す
Ev::embeddableBackends
— 他のイベントループに埋め込めるバックエンド群を返す
Ev::feedSignal
— シグナルイベントを Ev に送る
Ev::feedSignalEvent
— シグナルイベントの情報をデフォルトループに送る
Ev::iteration
— デフォルトのイベントループが新しいイベントをポーリングした回数を返す
Ev::now
— デフォルトのイベントループで直近の処理が始まった時刻を返す
Ev::nowUpdate
— カーネルに問い合わせて現在時刻を確認し、処理中の Ev::now が返す時刻を更新する
Ev::recommendedBackends
— 現在のプラットフォーム上でおすすめのバックエンドのビットマスクを返す
Ev::resume
— 一時停止していたデフォルトのイベントループを再開させる
Ev::run
— イベントのチェックとデフォルトループのコールバックの呼び出しを開始する
Ev::sleep
— 指定した秒数だけプロセスをブロックする
Ev::stop
— デフォルトのイベントループを止める
Ev::supportedBackends
— 現在の libev の構成でサポートするバックエンド群を返す
Ev::suspend
— デフォルトのイベントループを一時停止する
Ev::time
— epoch から現在時刻までの秒数を返す
Ev::verify
— 内部の整合性をチェックする (デバッグ用)
EvCheck
— EvCheck クラス
EvCheck::__construct
— EvCheck ウォッチャーオブジェクトを作る
EvCheck::createStopped
— 停止した EvCheck ウォッチャーのインスタンスを作る
EvChild
— The EvChild class
EvChild::__construct
— EvChild ウォッチャーオブジェクトを作る
EvChild::createStopped
— 停止した EvChild ウォッチャーのインスタンスを作る
EvChild::set
— ウォッチャーを設定する
EvEmbed
— EvEmbed クラス
EvEmbed::__construct
— EvEmbed オブジェクトを作る
EvEmbed::createStopped
— 停止した EvEmbed ウォッチャーのインスタンスを作る
EvEmbed::set
— ウォッチャーを設定する
EvEmbed::sweep
— 埋め込んだループに対して単一の非ブロックスイープを行う
EvFork
— EvFork クラス
EvFork::__construct
— EvFork ウォッチャーオブジェクトを作る
EvFork::createStopped
— 停止した EvFork ウォッチャーのインスタンスを作る
EvIdle
— The EvIdle class
EvIdle::__construct
— Constructs the EvIdle watcher object
EvIdle::createStopped
— Creates instance of a stopped EvIdle watcher object
EvIo
— The EvIo class
EvIo::__construct
— Constructs EvIo watcher object
EvIo::createStopped
— Create stopped EvIo watcher object
EvIo::set
— Configures the watcher
EvLoop
— The EvLoop class
EvLoop::backend
— Returns an integer describing the backend used by libev
EvLoop::check
— Creates EvCheck object associated with the current event loop instance
EvLoop::child
— Creates EvChild object associated with the current event loop
EvLoop::__construct
— Constructs the event loop object
EvLoop::defaultLoop
— Returns or creates the default event loop
EvLoop::embed
— Creates an instance of EvEmbed watcher associated with the current EvLoop object
EvLoop::fork
— Creates EvFork watcher object associated with the current event loop instance
EvLoop::idle
— Creates EvIdle watcher object associated with the current event loop instance
EvLoop::invokePending
— Invoke all pending watchers while resetting their pending state
EvLoop::io
— Create EvIo watcher object associated with the current event loop instance
EvLoop::loopFork
— Must be called after a fork
EvLoop::now
— Returns the current "event loop time"
EvLoop::nowUpdate
— Establishes the current time by querying the kernel, updating the time returned by EvLoop::now in the progress
EvLoop::periodic
— Creates EvPeriodic watcher object associated with the current event loop instance
EvLoop::prepare
— Creates EvPrepare watcher object associated with the current event loop instance
EvLoop::resume
— Resume previously suspended default event loop
EvLoop::run
— Begin checking for events and calling callbacks for the loop
EvLoop::signal
— Creates EvSignal watcher object associated with the current event loop instance
EvLoop::stat
— Creates EvStat watcher object associated with the current event loop instance
EvLoop::stop
— Stops the event loop
EvLoop::suspend
— Suspend the loop
EvLoop::timer
— Creates EvTimer watcher object associated with the current event loop instance
EvLoop::verify
— Performs internal consistency checks(for debugging)
EvPeriodic
— The EvPeriodic class
EvPeriodic::again
— Simply stops and restarts the periodic watcher again
EvPeriodic::at
— Returns the absolute time that this watcher is supposed to trigger next
EvPeriodic::__construct
— Constructs EvPeriodic watcher object
EvPeriodic::createStopped
— Create a stopped EvPeriodic watcher
EvPeriodic::set
— Configures the watcher
EvPrepare
— EvPrepare クラス
EvPrepare::__construct
— EvPrepare ウォッチャーオブジェクトを作る
EvPrepare::createStopped
— 停止した EvPrepare ウォッチャーのインスタンスを作る
EvSignal
— The EvSignal class
EvSignal::__construct
— Constructs EvSignal watcher object
EvSignal::createStopped
— Create stopped EvSignal watcher object
EvSignal::set
— Configures the watcher
EvStat
— The EvStat class
EvStat::attr
— Returns the values most recently detected by Ev
EvStat::__construct
— Constructs EvStat watcher object
EvStat::createStopped
— Create a stopped EvStat watcher object
EvStat::prev
— Returns the previous set of values returned by EvStat::attr
EvStat::set
— Configures the watcher
EvStat::stat
— Initiates the stat call
EvTimer
— The EvTimer class
EvTimer::again
— Restarts the timer watcher
EvTimer::__construct
— Constructs an EvTimer watcher object
EvTimer::createStopped
— Creates EvTimer stopped watcher object
EvTimer::set
— Configures the watcher
EvWatcher
— The EvWatcher class
EvWatcher::clear
— Clear watcher pending status
EvWatcher::__construct
— Abstract constructor of a watcher object
EvWatcher::feed
— Feeds the given revents set into the event loop
EvWatcher::getLoop
— Returns the loop responsible for the watcher
EvWatcher::invoke
— Invokes the watcher callback with the given received events bit mask
EvWatcher::keepalive
— Configures whether to keep the loop from returning
EvWatcher::setCallback
— Sets new callback for the watcher
EvWatcher::start
— Starts the watcher
EvWatcher::stop
— Stops the watcher
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