3v4l.org

run code in 300+ PHP versions simultaneously
<?php $title = "ÛŞÃ is going to dèport 80% öf indians&citizens are #concerned -- Breaking News / News India"; echo preg_replace( '/[^\pL\pN]+/u', '-', str_replace( '&', ' and ', mb_strtolower($title) ) );

preferences:
31.07 ms | 406 KiB | 5 Q