PHP code example of crowdstar / ranger

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

    

crowdstar / ranger example snippets




foreach (range(1, 100000) as $number) {
    echo $number;
}



use CrowdStar\Iterators\Ranger;

$range = Ranger::start(1, 100000);

foreach ($range as $number) {
	echo $number;
}