(PECL event >= 1.2.6-beta)
EventConfig::avoidMethod — 告知 libevent 避免使用特定的事件方法
method (方法)
要避免的後端方法。詳見 EventConfig 常數。
範例 #1 EventConfig::avoidMethod() 範例
<?php
$cfg = new EventConfig();
if ($cfg->avoidMethod("select")) {
echo "'select' 方法已避免\n";
}
?>