Welcome aboard! We are happy you are here and wish you good net-raft!
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<?php
function myTest1() {
$str = "Hello ()?!'# world";
$text1 = array('[','&',',','+','(',')','$','=','~','%','!','.','"',':','*','?','<','>','{','}',']','\/','\'','#');
$text2 = array('','','','','','','','','','','','','','','','','','','','','','','','');
$rep_string = str_replace($text1, $text2, $str);
echo $rep_string;
}
?>
<?php
myTest1();
?>
</body>
</html>
The most helpful PHP solutions
detect browser phpPHP Click to see more ... 4.6K 408