PHP Arrays
Everything you need to know about working with Arrays in PHP
- How to remove duplicated array values in PHP and re-generate the array keys.
- Tutorial on how to traverse a Multidimensional array using php7.1 syntax
- How to reorder array elements in PHP, moving elements up or down one step at a time.
- Tutorial on how to obtain a random value from an array in PHP.
- This tutorial shows how to make- and work with different types of arrays in PHP using different syntaxes.
- How to easily remove elements from arrays in PHP using the unset function.
- In PHP all arrays can be Associative. In this tutorial, you will learn how to create an association between keys and values in arrays.
- There is no build-in way to check if an array is indexed (sequential) or associative in PHP, but you can easily create your own is_associative() function for it.