EVENT_PRIORITY_SET(3) 1 EVENT_PRIORITY_SET(3)
event_priority_set - Assign a priority to an event.
SYNOPSIS
bool event_priority_set (resource $event, int $priority)
DESCRIPTION
Assign a priority to the $event.
PARAMETERS
o $event
- Valid event resource.
o $priority
- Priority level. Cannot be less than zero and cannot exceed maximum priority level of the event base (see event_base_prior-
ity_init(3)).
RETURN VALUES
Returns TRUE on success or FALSE on failure.
PHP Documentation Group EVENT_PRIORITY_SET(3)