PHP Classes

File: src/helpers.php

Recommend this page to a friend!
  Classes of Caleb   Aggregator   src/helpers.php   Download  
File: src/helpers.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Aggregator
Aggregate multiple IP addresses in single ranges
Author: By
Last change:
Date: 6 years ago
Size: 255 bytes
 

Contents

Class file image Download
<?php
if (!function_exists('aggregate')) {
   
/**
     * Aggregate it!
     *
     * @param string $input
     * @return string
     */
   
function aggregate($input)
    {
        return (new \
CIDRAM\Aggregator\Aggregator())->aggregate($input);
    }
}