Array
(
[0] => he\\\/llo
[1] => he\/\/llo1
[2] => hello\/\/\/2
)
show code
<?php
$array = array('he\/llo','he//llo1','hello///2');
$array = array_map(function($value){
return preg_quote($value, '/');
}, $array);
echo "<pre>";
print_r($array);
echo "</pre>";