]<?php $arr = array(1,1,2,2,3,3,4,4,5,5,6,6,7,7,8); echo array_reduce($arr, function($x, $v) { return $x ^= $v; });
You have javascript disabled. You will not be able to edit any code.