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"; echo str_replace("’", "'", $str);

preferences:
47.86 ms | 402 KiB | 5 Q