How can I compare or check if all array values are the same in PHP?

edited April 16 in PHP

How can I compare or check if all array values are the same in PHP?

Comments

  • edited April 17

    you want to compare 2 arrays? why not try array_intersect. Let us see the two arrays first,

  • I remember we resolved this on whatsapp earlier.

  • SOLVED!...

    Thanks

This discussion has been closed.