fileperms Gets file permissions Description intfileperms stringfilename Returns the permissions on the file, or &false; in case of an error. ¬e.clearstatcache; &tip.fopen-wrapper.stat; Display permissions as an octal value ]]> This would produce the output: Display full permissions ]]> This would produce the output: See also is_readable, and stat