PHP code example of 8ctopus / unsigned-int

1. Go to this page and download the library: Download 8ctopus/unsigned-int 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/ */

    

8ctopus / unsigned-int example snippets


use Oct8pus\Unsigned\UInt8;
use Oct8pus\Unsigned\UInt16;
use Oct8pus\Unsigned\UInt32;

t8(-128));

$uint8 = new UInt8();
$uint8->toUnsigned(127);