<?php

$sites = ['asametyildirim', 'google'];
$sites = array_map(function($site){
return "$site.com";
}, $sites);
print_r($sites);