how to multi send at smpp in php

I have smpp-php code. This code sends only a single number of sms
it is not able to send bulk sms.
It can be send only sms with one buy one not in bulk numbers.

Referenced
<https://github.com/rayed/smpp_php>


\<?php //this send .php

include 'class.smpp.php';

$message = $\_POST['message'];  
$allNumber = explode(",",$\_REQUEST['numbers']);

$numbers = [];  
foreach ( $allNumber as $numb )  
{  
if ( count($numbers) == 100 )  
{  
send($numbers, $message);  
$numbers = [];  
}  
array\_push($numbers, $numb);  
}

send($numbers, $message);

function send($numbers, $message)  
{

$src=rand(0000,9999);  
$s = new smpp();  
$s-\>debug=1;  
$s-\>open("xxxx", 2775, "xxxx", "xxxx");  
$utf = true;  
$message = iconv("UTF-8","UCS-2//IGNORE",$message);  
$sendNumb = join(",", $numbers);  
$s-\>send\_long($src, $sendNumb, $message, $utf);  
$s-\>close();  
}

?\>```