3v4l.org

run code in 300+ PHP versions simultaneously
<?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))); $us_arr = array(); foreach($array as $s) { $flag = true; foreach($us_arr as $us) { if ($us==$s) { $flag = false; break; } } if($flag) { if($s!="") $us_arr[] = $s; } } print_r($us_arr);
Output for git.master, git.master_jit, rfc.property-hooks
" "Asian's pussy" slut pounded and facialised asian slut " " Array ( [0] => asian [1] => s [2] => pussy [3] => slut [4] => pounded [5] => and [6] => facialised )

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
53.73 ms | 401 KiB | 8 Q