3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text1 = array ('you', 'hello', 'WORLD'); $text2 = "Hello world"; $text2 = explode(" ", $text2); Echo str_ireplace($text2, "", implode("",$text1));

preferences:
31.35 ms | 406 KiB | 5 Q