mercredi 6 janvier 2016

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.

Can someone explain what's meant by "&" here and also altogether "& 511" with file permission.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire