Skip to content

Tag Archives: PHP-array

This inbuilt function of PHP is used to push new elements into an array. We can push one or more than one element into the… Read More
This inbuilt function of PHP is used to fetch a random number of elements from an array. The element is a key and can return… Read More
This inbuilt function of PHP is used to delete or pop out and return the last element from an array passed to it as parameter.… Read More
This inbuilt function of PHP is used to reduce the elements of an array into a single value that can be of float, integer or… Read More
This inbuilt function of PHP is used to reverse the elements of an array including the nested arrays. Also, we have an option of preserving… Read More
This inbuilt function of PHP removes the first element from an array and returns the value of the removed element. After the removal of the… Read More
In this article, we will see how to search the specific value in an array & corresponding return the key using the array_search() function in… Read More
In this article, we will see how to get the array key using the array_key_exists() function in PHP, & will also see its implementation through… Read More
Arrays in PHP is a type of data structure that allows us to store multiple elements of similar data type under a single variable thereby… Read More

Start Your Coding Journey Now!