public static function getBitArrayFromInt($int)
   {
      $binstr = (string) decbin($int);
      $binarr = array_reverse(str_split($binstr));
      $bitarr = array_keys($binarr, '1', true);

      return $bitarr;
   }