cboden · GitHub

Merged

Merged

Conversation

} elseif (class_exists('EventBase', false)) {
return new ExtEventLoop;
} elseif (function_exists('event_base_new') && version_compare(PHP_VERSION, '7.0.0', '<')) {
return new LibEventLoop();
{
if (version_compare(PHP_VERSION, '7.0.0') >= 0) {
trigger_error('The libevent extension has not yet been updated for PHP 7, it is recommended you use a different loop', E_USER_WARNING);
}

@clue clue mentioned this pull request

Aug 3, 2017

Closed

jsor

jsor approved these changes Oct 11, 2017

clue

return new LibEvLoop;
} elseif (class_exists('EventBase', false)) {
return new ExtEventLoop;
} elseif (function_exists('event_base_new') && version_compare(PHP_VERSION, '7.0.0', '<')) {

@clue

clue

clue approved these changes Oct 13, 2017

WyriHaximus

@WyriHaximus

@cboden

@clue clue mentioned this pull request

Oct 13, 2017

Merged

@clue clue mentioned this pull request

Feb 2, 2024

Merged

Read the original on github.com ↗