PHP code example of infw / range
1. Go to this page and download the library: Download infw/range 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/ */
infw / range example snippets
use InFw\Range\BaseRange as Range;
$min = 25;
$max = 1000;
$range = new Range($min, $max);
$range->getMin();
$range->getMax();