Skip to content
Courses
DSA to Development
Get IBM Certification
Newly Launched!
Master Django Framework
Become AWS Certified
For Working Professionals
Interview 101: DSA & System Design
Data Science Training Program
JAVA Backend Development (Live)
DevOps Engineering (LIVE)
Data Structures & Algorithms in Python
For Students
Placement Preparation Course
Data Science (Live)
Data Structure & Algorithm-Self Paced (C++/JAVA)
Master Competitive Programming (Live)
Full Stack Development with React & Node JS (Live)
Full Stack Development
Data Science Program
All Courses
Tutorials
Data Structures & Algorithms
ML & Data Science
Interview Corner
Programming Languages
Web Development
CS Subjects
DevOps And Linux
School Learning
Practice
Build your AI Agent
GfG 160
Problem of the Day
Practice Coding Problems
GfG SDE Sheet
Contests
Accenture Hackathon (Ending Soon!)
GfG Weekly [Rated Contest]
Job-A-Thon Hiring Challenge
All Contests and Events
DSA
Practice Problems
Python
C
C++
Java
Courses
Machine Learning
DevOps
Web Development
System Design
Aptitude
Projects
Sign In
▲
Similar Topics
Web Technologies
40.3k+ articles
PHP
3.8k+ articles
PHP-function
2.2k+ articles
PHP Programs
610+ articles
Web technologies
610+ articles
PHP-Questions
410+ articles
PHP-string
150+ articles
PHP-basics
93 articles
php
30 articles
PHP-ArrayObject
21 articles
PHP-array
180+ posts
Popular Articles
Recent Articles
Difference between indexed array and associative array
Last Updated: 22 October 2021
An array is a collection of objects that contain a group of variables stored under the same name. All the elements belong to the same data t
...read more
Difference Between
Web Technologies
PHP-array
PHP-function
Picked
PHP
PHP-Questions
Web Technologies - Difference Between
How to print all the values of an array in PHP ?
Last Updated: 15 July 2024
We have given an array containing some array elements and the task is to print all the values of an array arr in PHP. In order to do this ta
...read more
Web Technologies
PHP-array
PHP
PHP Programs
How to search by key=>value in a multidimensional array in PHP ?
Last Updated: 15 July 2024
In PHP, multidimensional array search refers to searching a key=value in a multilevel nested array. This search can be done either by the it
...read more
Web Technologies
PHP-array
Picked
PHP
PHP Programs
Similar Topics
Web Technologies
40.3k+ articles
PHP
3.8k+ articles
PHP-function
2.2k+ articles
PHP Programs
610+ articles
Web technologies
610+ articles
PHP-Questions
410+ articles
PHP-string
150+ articles
PHP-basics
93+ articles
php
30+ articles
PHP-ArrayObject
21+ articles
Sort array of objects by object fields in PHP
Last Updated: 01 July 2024
Sorting an array of objects by object fields means organizing the array's objects based on the values of specified properties (fields) withi
...read more
Web Technologies
PHP-array
Picked
PHP
PHP Programs
Return all dates between two dates in an array in PHP
Last Updated: 15 July 2024
Returning all dates between two dates in an array means generating a list of all consecutive dates from the start date to the end date, incl
...read more
Web Technologies
PHP-array
Picked
PHP
Program to Insert new item in array on any position in PHP
Last Updated: 15 July 2024
New item in an array can be inserted with the help of array_splice() function of PHP. This function removes a portion of an array and replac
...read more
Web Technologies
PHP-array
Picked
PHP
PHP Programs
PHP program to find the maximum and the minimum in array
Last Updated: 20 August 2024
Finding the maximum and minimum in an array involves determining the largest and smallest values within a given set of numbers. This task is
...read more
Web Technologies
PHP-array
PHP
PHP array_chunk() Function
Last Updated: 19 September 2024
The array_chunk() function is an inbuilt function in PHP which is used to split an array into parts or chunks of given size depending upon t
...read more
Web Technologies
PHP-array
PHP-function
PHP
Sort an array of dates in PHP
Last Updated: 01 July 2024
We are given an array of multiple dates in (Y-m-d) format. We have to write a program in PHP to sort all the dates in the array in decreasin
...read more
date-time-program
Web Technologies
PHP-basics
PHP-array
PHP
PHP min( ) Function
Last Updated: 22 June 2023
The min() function of PHP is used to find the lowest value in an array, or the lowest value of several specified values. The min() function
...read more
Web Technologies
PHP-array
PHP-function
PHP
PHP array_values() Function
Last Updated: 19 September 2024
The array_values() is an inbuilt PHP function is used to get an array of values from another array that may contain key-value pairs or just
...read more
Web Technologies
PHP-array
PHP-function
PHP
PHP extract() Function
Last Updated: 20 June 2023
The extract() Function is an inbuilt function in PHP. The extract() function does array to variable conversion. That is it converts array ke
...read more
Web Technologies
PHP-array
PHP-function
PHP
PHP array_filter() Function
Last Updated: 20 June 2023
This built-in function in PHP is used to filter the elements of an array using a user-defined function which is also called a callback funct
...read more
Web Technologies
PHP-array
PHP-function
PHP
PHP array_combine() Function
Last Updated: 19 September 2024
The array_combine() function is an inbuilt function in PHP which is used to combine two arrays and create a new array by using one array for
...read more
Web Technologies
PHP-array
PHP-function
PHP
Sorting Arrays in PHP
Last Updated: 30 September 2024
Sorting arrays is one of the most common operation in programming, and PHP provides a several functions to handle array sorting. Sorting arr
...read more
Technical Scripter
Web Technologies
PHP-array
PHP
PHP Programs
DSA
First
1
2
3
4
5
6
7
8
>>
Last
First
1
2
3
4
5
6
>>
Last
First
1
2
3
4
>>
Last
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !