(PHP 4, PHP 5, PHP 7)
Assign variables as if they were an array
array list ( mixed $var1 [, mixed $... ] )
Like array(), this is not really a function, but a language construct. list() is used to assign a list of variables in one operation.
Parameters:
var1
A variable.
Returns:
Returns the assigned array.
Changelog