array(6) {
["Read"]=>
int(1)
["Write"]=>
int(2)
["Close"]=>
int(3)
["Cancel"]=>
int(5)
["Kill"]=>
int(6)
["Error"]=>
int(4)
}
PHP - Manual: parallel\Events\Event\Type
2024-12-21
(0.9.0)
array(6) {
["Read"]=>
int(1)
["Write"]=>
int(2)
["Close"]=>
int(3)
["Cancel"]=>
int(5)
["Kill"]=>
int(6)
["Error"]=>
int(4)
}
官方地址:https://www.php.net/manual/en/class.parallel-events-event-type.php