gisostallenberg / bitwise-constant-calculator
Calculates the value of bitwise operations on a list of constants
1.0.0
2017-02-22 15:12 UTC
Requires (Dev)
- phpunit/phpunit: ^5.7
This package is auto-updated.
Last update: 2024-10-24 04:49:41 UTC
README
Calculates the value of bitwise operations on a list of constants
Installation
composer require gisostallenberg/bitwise-constant-calculator
Usage examples
use GisoStallenberg\BitwiseConstantCalculator\BitwiseConstantCalculator; $result = BitwiseConstantCalculator::create() ->calculate("E_ALL | E_STRICT"); ($result === E_ALL | E_STRICT); // true