symbolic_permissions()

symbolic_permissions($perms)

Parameters:
  • $perms (int) – Permissions
Returns:

Symbolic permissions string

Return type:

string

Takes numeric permissions (such as is returned by fileperms()) and returns standard symbolic notation of file permissions.

echo symbolic_permissions(fileperms('./index.php'));  // -rw-r--r--
doc_CodeIgniter
2016-10-15 16:32:41
Comments
Leave a Comment

Please login to continue.