php man page for event_timer_set

Query: event_timer_set

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

EVENT_TIMER_SET(3)							 1							EVENT_TIMER_SET(3)

event_timer_set - Prepare a timer event

SYNOPSIS
bool event_timer_set (resource $event, callable $callback, [mixed $arg])
DESCRIPTION
Prepares the timer event to be used in event_add(3). The event is prepared to call the function specified by the $callback when the event timeout elapses. After initializing the event, use event_base_set(3) to associate the event with its event base. In case of matching event, these three arguments are passed to the $callback function: o $fd - Signal number or resource indicating the stream. o $events - A flag indicating the event. This will always be EV_TIMEOUT for timer events. o $arg - Optional parameter, previously passed to event_timer_set(3) as $arg.
PARAMETERS
o $event - Valid event resource. o $callback - Callback function to be called when the matching event occurs. o $arg - Optional callback parameter.
RETURN VALUES
Returns TRUE on success or FALSE on failure. PHP Documentation Group EVENT_TIMER_SET(3)
Related Man Pages
tk_createclientmessagehandler(3) - mojave
tk_deleteclientmessagehandler(3) - mojave
tk_createclientmessagehandler(3tk) - debian
tk_deleteclientmessagehandler(3tk) - debian
tk_deleteclientmessagehandler(3) - centos
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
User Guide: Posting in the Emergency Forum
UNIX.COM 2017 Year End Summary
Please Welcome Don Cragun as Lead Moderator
Denial Of Service Attack Update