Contact: aviboots(AT)netvision.net.il
41,615 questions
54,278 answers
573 users
$array = [2, 2, 2, 2, 2]; if (count(array_unique($array)) === 1) { echo "yes"; } else { echo "no"; } /* run: yes */