Skip to content

Schmidt-DevOps/SdoBitmask

Repository files navigation

SdoBitmask

SdoBitmask is a simple class to set flags of bitmasks

  1. Sets or unsets bitmask flags.
  2. Checks whether a flag is power of two.

Tests

There are some basic PHPUnit tests.

Author

Me:

  1. mailto:stefanie+_gth@sdo.sh

Licence

LGPL v3 or a commercial licence :) from stefanie+_gth@sdo.sh.

Source/Download

Source can be found on GitHub

Requirements

  1. PHP 8.1, or 8.2 or newer

How to use

Example script

Have a look at SdoBitmaskTest.