Home > PHP > Function > FAM > fam_next_event()

fam_next_event()

fam_next_event - Get next pending FAM event

Syntax

array fam_next_event (resource $fam)

Arguments

  • fam - A resource representing a connection to the FAM service returned by fam_open()

Description

Returns the next pending FAM event.

Version

PHP 5 <= 5.0.5

Return value

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.