PHP list() functionThe PHP list( ) function is used to assign values to a list of variables in one operation. This function was introduced in PHP 4.0. SyntaxParameter
ReturnsThe list( ) function returns the assigned array. Example 1Output: I have many cars like, a audi, a ford and a toyota. Example 2Output: Here I only use the audi and mercedes variables. Example 3Output: I am expert in php, javascript and html. Example 4Output: We have covered php and asp.net and so many other topics
Next TopicPHP Array Functions
|