略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: fam_next_event (官方文档)

2020-06-04

fam_next_event

(PHP 5 < 5.1.0)

fam_next_eventGet next pending FAM event

说明

fam_next_event ( resource $fam ) : array

Returns the next pending FAM event.

The function will block until an event is available which can be checked for using fam_pending().

参数

fam

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

返回值

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.

参见

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/function.fam-next-event.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号