What Is an Array in PHP

Q

What Is an Array in PHP?

✍: FYIcenter.com

A

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.

 

Creating an Array in PHP

Understanding PHP Arrays and Their Basic Operations

Understanding PHP Arrays and Their Basic Operations

⇑⇑ PHP Tutorials

2016-10-15, 1686🔥, 0💬