- var_dump: documentation ( source)
- str_replace: documentation ( source)
<?php
$str = "KS KS and this isn’t a test of symbols ‘ and I still don’t understan ‘causes";
$tst = str_replace("’", "'", $str);
$tst = str_replace("‘", "'", $tst);
var_dump($tst);