gisostallenberg / bitwise-constant-calculator
Calculates the value of bitwise operations on a list of constants
Installs: 82
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/gisostallenberg/bitwise-constant-calculator
Requires (Dev)
- phpunit/phpunit: ^5.7
This package is auto-updated.
Last update: 2025-09-24 07:04:42 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