3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "456-678-978=>6;567-734-565=>8;"; echo str_replace("567-734-565=>8;", "", $str);

preferences:
52.72 ms | 407 KiB | 5 Q