- What is the most efficient way to check if an array is a flat array
of primitive values or if it is a multidimensional array?
- Is there any way to do this without actually looping through an
array and running
is_array()on each of its elements?
- Ruby – How to check if a value exists in an array in Ruby
- Php – Reference — What does this symbol mean in PHP
- Php – How does PHP ‘foreach’ actually work