Matlab has a simple syntax for this you would type `MyArray = [1:365]` and it will create an array with all integers from 1 to 365. How is this done in PHP? I know PHP's arrays are more like matlab struct types. Where there are keys-value pairs.