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) ) ), '-' );

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
156.35 ms | 1878 KiB | 14 Q