title: PHP folder watching on windows
body: <p>I am writing a simple PHP script to watch a folder and its subfolders for any changes (new files, modifications, deletions) and then perform an action.</p>
  
  <p>I will run this script from the commandline on windows using <code>php -f script.php</code>.</p>
  
  <p>I have been search for a way to watch folders on windows that has PHP bindings. Something like inotify or gamin for windows would be nice.</p>
  
  <p>The answers to <a href="https://stackoverflow.com/questions/3517460/is-there-anything-like-inotify-on-windows">this question</a> mentions <code>FindFirstChangeNotification</code>, but I couldn't find any PHP bindings for it.</p>
  
  <p>Are there any libraries/software for folder/filesystem watching on windows with PHP bindings?</p>