By using array_diff() function , we can remove the array values in php
<?php
<?php
<?php
$arr_remove=array('Codingslover', 'webslessons', 'meetcity',
'eshopoffers','google');
$arr=array_diff($arr_remove, array('webslessons', 'google'));
echo"<pre>";print_r($arr_remove);
echo"<pre>";print_r($arr);
?>