« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 5 of about 5 for Avoiding (0.001 sec.)
EventConfig::__construct — Constructs EventConfig object | PHP 8.3 11288
EventConfig::__construct (PECL event >= 1.2.6-beta) EventConfig::__construct — Constructs EventConfig object 説明 public function EventConfig::__construct () Constructs EventConfig object which could be passed to EventBase::__construct() co ... nstructor. パラメータ この関数にはパラメータはありません。 例 例1 EventConfig::__construct() example <?php // Avoiding "select" method $cfg = new EventConfig (); if ( $cfg -> avoidMethod ( "select" )) { echo "'select' method avoided\n" ; } / ...
https://man.mtool.work/php/8.3/eventconfig.construct.html
EventBase::getFeatures — Returns bitmask of features supported | PHP 8.3 10479
EventBase::getFeatures (PECL event >= 1.2.6-beta) EventBase::getFeatures — Returns bitmask of features supported 説明 public function EventBase::getFeatures (): int Returns bitmask of features supported. パラメータ この関数にはパラメータはあ ... g a bitmask of supported features. See EventConfig::FEATURE_* constants . 例 例1 EventBase::getFeatures() example <?php // Avoiding "select" method $cfg = new EventConfig (); if ( $cfg -> avoidMethod ( "select" )) { echo "'select' method avoided\n" ; } $ ...
https://man.mtool.work/php/8.3/eventbase.getfeatures.html
Other Changes | PHP 8.3 9670
Other Changes Core changes Core In case of a hard OOM (out of memory) condition, PHP now calls abort() instead of exit(1) , changing the exit code to 134 and possibly creating a core dump. The PHP_OS_FAMILY constant has an AIX value for whe ... in debug builds. Performance Core printf() using only %s and %d will be compiled into the equivalent string interpolation, avoiding the overhead of a function call and repeatedly parsing the format string. Arguments are now passed more efficiently to kno ... ) using a first-class callable or partial function application callback will be compiled into the equivalent foreach loop, avoiding the creation of intermediate Closure s, the overhead of calling userland callbacks from internal functions and providing f ...
https://man.mtool.work/php/8.3/migration86.other-changes.html
The EvTimer class | PHP 8.3 8457
The EvTimer class (PECL ev >= 0.2.0) はじめに EvTimer watchers are simple relative timers that generate an event after a given time, and optionally repeating in regular intervals after that. The timers are based on real time, that is, if on ... es (but this is no longer true when a callback calls EvLoop::run() recursively). The timer itself will do a best-effort at avoiding drift, that is, if a timer is configured to trigger every 10 seconds, then it will normally trigger at exactly 10 second i ...
https://man.mtool.work/php/8.3/class.evtimer.html
例 | PHP 8.3 6011
例 例1 Simple HTTP client <?php // Read callback function readcb ( $bev , $base ) { //$input = $bev->input; //$bev->getInput(); //$pos = $input->search("TTP"); $pos = $bev -> input -> search ( "TTP" ); while (( $n = $bev -> input -> remove ... ported stuff */ echo "Supported methods:\n" ; foreach ( Event :: getSupportedMethods () as $m ) { echo $m , PHP_EOL ; } // Avoiding "select" method $cfg = new EventConfig (); if ( $cfg -> avoidMethod ( "select" )) { echo "'select' method avoided\n" ; } / ...
https://man.mtool.work/php/8.3/event.examples.html
PREV 1 NEXT