From 738cf798d67a5024a3f9330af1022a5beb5fc9fd Mon Sep 17 00:00:00 2001 From: Lesnykh Ilia Date: Thu, 8 Jun 2017 20:28:01 +0300 Subject: [PATCH] Clarify comments: change 62 (old max bits) to now supported 63. --- example/example.php | 2 +- src/Bitmask.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/example/example.php b/example/example.php index 9d4ddc7..a43b3a2 100644 --- a/example/example.php +++ b/example/example.php @@ -10,7 +10,7 @@ define('ACCESS_READ', 2); define('ACCESS_UPDATE', 3); define('ACCESS_DELETE', 4); -// etc, up to 62 +// etc, up to 63 // some users from storage $user = [ diff --git a/src/Bitmask.php b/src/Bitmask.php index 2eaae74..32f0c45 100644 --- a/src/Bitmask.php +++ b/src/Bitmask.php @@ -3,7 +3,7 @@ /** * Simple bitmask implementation. - * Supports only 63 bits (from 0 to 62) on x64 platforms. + * Supports only 64 bits (from 0 to 63) on x64 platforms. */ class Bitmask {