Home > PHP > Function > FAM > fam_pending()

fam_pending()

fam_pending - Check for pending FAM events

Syntax

int fam_pending (resource $fam)

Arguments

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

Description

Checks for pending FAM events.

Version

PHP 5 <= 5.0.5

Return value

Returns non-zero if events are available to be fetched using fam_next_event(), zero otherwise.