PHP code example of tumugin / stannum

1. Go to this page and download the library: Download tumugin/stannum 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/ */

    

tumugin / stannum example snippets


// Will return [1, 3, 5]
SnIntegerList::byIntArray([1, 2, 3, 4, 5, 6])
    ->filter(fn(SnInteger $val) => $val->isOdd())
    ->toIntArray();