[TUT] Arrays

:?: What is an array ?
An array in PHP is actually an ordered map. This values of these maps are listed with certain keys. These keys can be integers or strings. You can use it as a real array,

:?: What use do arrays have?
With an array you can add multiple variables in one variable( the array), you can make a list (vector), hashtable (which is an implementation of a map), dictionary, collection, stack, queue and probably more.

:idea: Array example ( this function will output $variable1 ):


Great tutorial, this is very useful. It will come in handy :)