1. Go to this page and download the library: Download igorw/dev-zero 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/ */
igorw / dev-zero example snippets
use function igorw\dev_zero;
$zeroes = dev_zero();
foreach ($zeroes as $zero) {
...
}
use function igorw\dev_zero;
use function iter\drop;
$zeroes = drop(2<<7, dev_zero());
use function igorw\dev_zero;
use function iter\map;
$ones = map($n ==> $n + 1, dev_zero());
use function igorw\dev_zero;
use function iter\chunk;
$blocks = chunk(dev_zero(), 64*1024);
use function igorw\dev_zero;
use function iter\map;
$nulls = map('chr', dev_zero());
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.