To create an array, we can use the array() construct in PHP.

Example

                                        

Syntax : $array = array( values );

Example : $directors = array( "1", "7", "17", "23" );

Suggest An Answer

No suggestions avaliable!