HOW MANY TYPES OF ARRAY ARE THERE IN PHP?

Barbara Jones

Total Post:19

Points:95
Posted by  Barbara Jones
PHP 
PHP
 380  View(s)
Ratings:
Rate this:
  1. Barbara Jones

    Post:19

    Points:95
    How many types of array are there in PHP?

    There are 3 types of array :- a) Indexed array:


    These array can store numbers, string and objects but their index is represented by numbers. By default value of any index is 0.

    b) Multi-dimensional array

     A multi-dimensional array consist one or more arrays.

    c) Associative arrays:

     The associative array are similar to index array in terms of functionality but they are different in terms of key/index.

      Modified On Sep-26-2016 01:50:34 AM

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!