All exams are online now due to COVID related precautions | Download the app or write to us at info@vskills.in

Certified PHP Developer Learning Resources Specifying Array

Specifying Array
 


An array can be created using the array() language construct. It takes any number of comma-separated key => value pairs as arguments.

array(
    key  => value,
    key2 => value2,
    key3 => value3,
    ...
)