Skip to content

riccardonar/php-intrange

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

php-intrange

Thanks to Salamek, this is an adapt to https://github.com/Salamek/php-daterange

Php integer range implementation, usualy used in PgSQL database

<?php

$intRange = new riccardonar\IntRange($startInt, $endInt);

$intRange->getStart(); //$startInt
$intRange->getEnd(); //$endInt