What Is an Array in PHP?

deepak singh
Posts: 686
Joined: Fri Sep 30, 2016 4:19 pm

What Is an Array in PHP?

Postby deepak singh » Sat Oct 01, 2016 5:14 pm

What Is an Array in PHP?

rameshkhd
Posts: 1279
Joined: Sun Aug 28, 2016 10:45 am

Re: What Is an Array in PHP?

Postby rameshkhd » Sat Oct 01, 2016 5:15 pm

An array in PHP is really an ordered map of pairs of keys and values.
Comparing with Perl, an array in PHP is not like a normal array in Perl. An array in PHP is like an associate array in Perl. But an array in PHP can work like a normal array in Perl.
Comparing with Java, an array in PHP is not like an array in Java. An array in PHP is like a TreeMap class in Java. But an array in PHP can work like an array in Java.


Return to “PHP”

Who is online

Users browsing this forum: No registered users and 3 guests