<?php $stack = array("twice", "twice", "once", "another once"); print_r(array_filter(array_map((function ($v) { return $v > 1 ? $v : 0; }), array_count_values($stack))));
You have javascript disabled. You will not be able to edit any code.