The list() function is used to assign values to a list of variables as if they were an array.
(PHP 4 and above)
list(varname1, varname2.... varnamen )
|varname1||The first variable to be assigned||Required||Mixed*|
|varname2..n||Next variable to be assigned||Optional||Mixed*|
*Mixed : Mixed indicates that a parameter may accept multiple (but not necessarily all) types.
The assigned array.
Value Type : Array
Pictorial Presentation :