3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = "abcdefffefa"; $b = "afe"; print(str_replace(array_uniq(explode('', $a)), '', $b));
based on tQNQDP