how to create an array with a list of objects in php code example
Example: list() php
$info = array('Doina', 'brown', 'long');
// Listing all the variables
list($she, $color, $hear) = $info;
echo "$she has $color eyes color and $hear black hair.\n";