PHP code example of wyrihaximus / rx-recoil-looper
1. Go to this page and download the library: Download wyrihaximus/rx-recoil-looper 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/ */
wyrihaximus / rx-recoil-looper example snippets
$recoil->execute(function () {
$observable = observableFromArray(range(1, 1000));
$observableWhile = observableWhile($observable);
while ($i = (yield $observableWhile->get())) {
echo $i, PHP_EOL;
}
});