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 trim( preg_replace( '/[^a-z\d]+/', '-', str_replace( '&', ' and ', strtolower($title) ) ), '-' );

preferences:
62.18 ms | 407 KiB | 5 Q