function sms($tel)
{
$config = array(
'text' => 'Телефон: '.$tel.''//Само сообщение в UTF-8
);
$error = file_get_contents("https://sms.ru/sms/send?api_id=7694E1B3-1847-C798-3FDD-7856E067EEA1&to=79503164233&text=".urlencode($config["text"]));
}
sms("88005553535");