PHP: Create an Array
Array is probably the simplest compound data type every language supports. It’s basically a set of ordered values (text strings, numbers or booleans and even a child array). You can create an array in PHP by: $companies = array(‘Microsoft’, ‘Google’, ‘IBM’, ‘Apple’); Now array $companies contains 4 text string values. You can append one more …