(PECL inotify >= 0.1.2)
inotify_read — Read events from an inotify instance
inotify_read ( resource $inotify_instance ) : array
Read inotify events from an inotify instance.
inotify_instance
Resource returned by inotify_init()
An array of inotify events or false
if no events was pending and inotify_instance
is non-blocking. Each event is an array with the following keys:
IN_MOVE_FROM
and IN_MOVE_TO
)
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.inotify-read.php