# \[PHP\]most common value in Array

**URL:** <https://forum.kirupa.com/t/php-most-common-value-in-array/215863>\
**Category:** programming\
**Created:** [February 11, 2007, 2:14pm UTC](https://forum.kirupa.com/t/php-most-common-value-in-array/215863 "2007-02-11T14:14:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![evildrummer](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/evildrummer/32/2308_2.png) [@evildrummer](https://forum.kirupa.com/u/evildrummer)\
**Post date:** [February 11, 2007, 2:14pm UTC](https://forum.kirupa.com/t/php-most-common-value-in-array/215863/1 "2007-02-11T14:14:57Z")

</div>

I have searched google, here and also on [php.net](http://php.net) but not found the answer, simply how do I find the most common value in an array (mode) I know there is a way as I have done it before. its just annoying me now!Ⓜ

If anyone has the answer I will be very happy again
