Hi! > A missing feature in PHP is a file system watcher/monitoring available > for almost all platforms. On Linux, we have inotify (available in PHP > through pecl/inotify), on Mac OS X, we have /dev/fsevents (not available > in PHP, since we need ioctl to do that in pure PHP —and sudo—, no C > extension needed), on FreeBSD, we have FAM, and on Windows, we have > FileSystemWatcher in .NET. All major platforms have a solution ready to use.
I think it'd be great to have a library with unified interface and an extension that uses it. However, I'm not sure if these libraries are useful in common php use case - short-lived requests. Could I get the changes since the last request? Or is it useful only for long-running persistent processes? > Is it possible to have such a feature landing in PHP (core if karma > allows it)? or do you want such a feature? I'm not sure why it has to be in core though. I don't see so far anything that requires modifying language core. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php