3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $txt2 = " \" \"Asian's pussy\" slut pounded and facialised asian slut \" \" $ % ^^ $@#@# @((#"; $array = preg_split('/[^[:alnum:]]+/', strtolower($txt2)) ; $string = preg_replace('/[^\'\"[:alnum:]]+/', " ", $txt2); //title echo $string . PHP_EOL; print_r(array_unique(array_filter($array))); //print_r(array_unique(array_filter($array))); //print_r(array_unique(array_filter($array))); //print_r(array_unique(array_filter($array)));
based on 0SXCA
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.3.0alpha1
" "Asian's pussy" slut pounded and facialised asian slut " " Array ( [1] => asian [2] => s [3] => pussy [4] => slut [5] => pounded [6] => and [7] => facialised )