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-12-24 05:10:04 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