SplFileInfo::getPerms

SplFileInfo::getPerms

(PHP 5 >= 5.1.2, PHP 7)

SplFileInfo::getPermsGets file permissions

Description

public int SplFileInfo::getPerms ( void )

Gets the file permissions for the file.

Parameters

This function has no parameters.

Return Values

Returns the file permissions.