facebook/hhvm — pull request #1983 by RafeKettler (2014-03-04 21:35:49+00:00)
Title: Make statSyscall in ext_file.cpp support relative paths by default.

This fixes a number of Zend incompatibilities -- specifically this fixes #1733, and gives relative path support that should exist to is_readable, is_writable, is_executable, fileperms, fileowner, etc. (all the file* functions for extracting stat fields).