Downloads
Documentation
Get Involved
Help
Search docs
PHP 8.4.0 RC4 available for testing
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
Introduzione »
« eio_write
Manuale PHP
Guida Funzioni
Estensioni di controllo di processo
Change language:
English
German
Spanish
French
Italian
Japanese
Brazilian Portuguese
Russian
Turkish
Ukrainian
Chinese (Simplified)
Other
Ev
Introduzione
Installazione/Configurazione
Requisiti
Installazione
Esempi
Watchers
Watcher callbacks
Periodic watcher operation modes
Ev
— The Ev class
Ev::backend
— Returns an integer describing the backend used by libev
Ev::depth
— Returns recursion depth
Ev::embeddableBackends
— Returns the set of backends that are embeddable in other event loops
Ev::feedSignal
— Feed a signal event info Ev
Ev::feedSignalEvent
— Feed signal event into the default loop
Ev::iteration
— Return the number of times the default event loop has polled for new events
Ev::now
— Returns the time when the last iteration of the default event loop has started
Ev::nowUpdate
— Establishes the current time by querying the kernel, updating the time returned by Ev::now in the progress
Ev::recommendedBackends
— Returns a bit mask of recommended backends for current platform
Ev::resume
— Resume previously suspended default event loop
Ev::run
— Begin checking for events and calling callbacks for the default loop
Ev::sleep
— Block the process for the given number of seconds
Ev::stop
— Stops the default event loop
Ev::supportedBackends
— Returns the set of backends supported by current libev configuration
Ev::suspend
— Suspend the default event loop
Ev::time
— Returns the current time in fractional seconds since the epoch
Ev::verify
— Performs internal consistency checks(for debugging)
EvCheck
— The EvCheck class
EvCheck::__construct
— Constructs the EvCheck watcher object
EvCheck::createStopped
— Create instance of a stopped EvCheck watcher
EvChild
— The EvChild class
EvChild::__construct
— Constructs the EvChild watcher object
EvChild::createStopped
— Create instance of a stopped EvCheck watcher
EvChild::set
— Configures the watcher
EvEmbed
— The EvEmbed class
EvEmbed::__construct
— Constructs the EvEmbed object
EvEmbed::createStopped
— Create stopped EvEmbed watcher object
EvEmbed::set
— Configures the watcher
EvEmbed::sweep
— Make a single, non-blocking sweep over the embedded loop
EvFork
— The EvFork class
EvFork::__construct
— Constructs the EvFork watcher object
EvFork::createStopped
— Creates a stopped instance of EvFork watcher class
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
— The EvPrepare class
EvPrepare::__construct
— Constructs EvPrepare watcher object
EvPrepare::createStopped
— Creates a stopped instance of EvPrepare watcher
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
Improve This Page
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