PHP code example of gisostallenberg / bitwise-constant-calculator
1. Go to this page and download the library: Download gisostallenberg/bitwise-constant-calculator library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
gisostallenberg / bitwise-constant-calculator example snippets
use GisoStallenberg\BitwiseConstantCalculator\BitwiseConstantCalculator;
$result = BitwiseConstantCalculator::create()
->calculate("E_ALL | E_STRICT");
($result === E_ALL | E_STRICT); // true