Reason to put “& 511” with file permission

I found a piece of code

$permission = fileperms(constant("ABSPATH") . "/wp-login.php") & 511;

But I am not understanding why & 511 is putted there.

Read More

Can someone explain what’s meant by “&” here and also altogether “& 511” with file permission.

Related posts