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,
    ...
)

 For Support