bool TestExtFile::test_is_executable() { VERIFY(f_chmod("test/test_ext_file.txt", 0777)); VERIFY(f_is_executable("test/test_ext_file.txt")); return Count(true); }
bool f_hphp_splfileinfo_isexecutable(CObjRef obj) { SplFileInfo *fileInfo = get_splfileinfo(obj); return f_is_executable(fileInfo->getFileName()); }