Home Tutorial Php List PHP list array


Share on Google+Share on Google+
PHP list array
Posted on: October 30, 2009 at 12:00 AM
In this segment of the tutorial we will learn about the function list in context of list . And also we will see the example related to the list function

Syntax for PHP List Array
void list(var arg1,var arg2,var arg3)

  • list() is used to assign many variables at a time.
  • It takes variable values from the array and assign it to the variables of the list.

Example of PHP List Array

Code for PHP List Array

= array(1 ,'jack', 'math');
($roll, $name, $subject) = $stud;
"roll is $roll<br>name is $name<br>subject is $subject";

roll is 1
name is jack
subject is math


Related Tags for PHP list array:

Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: October 30, 2009

Recommend the tutorial

Advertisements Advertisements