3v4l.org

run code in 300+ PHP versions simultaneously
<?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);

preferences:
33.32 ms | 402 KiB | 5 Q