3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "KS and this isn’t a test of symbols ‘ and I still don’t understan ‘causes"; var_dump($str); $str = iconv("utf-8", "utf-8//ignore", $str);

preferences:
38.58 ms | 402 KiB | 5 Q