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-11-24 05:03:07 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