vfsStream is a stream wrapper for a virtual file system that may be helpful in unit tests to mock the real file system. It can be used with any unit test framework, like PHPUnit or SimpleTest.
PHP
Latest commit df46101 Feb 7, 2017 @mikey179 committed on GitHub Merge pull request #145 from photodude/patch-1
Test against the current hhvm version and php 7.1

README.md