|
PHP5中文手册
fam_next_event(PHP 5 <= 5.0.5) fam_next_event — Get next pending FAM event 说明
array fam_next_event
( resource $fam
)
Returns the next pending FAM event. The function will block until an event is available which can be checked for using fam_pending(). 返回值Returns an array that contains a FAM event code in the 'code' element, the path of the file this event applies to in the 'filename' element and optionally a hostname in the 'hostname' element. The possible event codes are described in detail in the constants part of this section. |