$var1 = array();
$var1[0][0] = "aaa";
$var1[0][1] = "bbb";
$var1[0][2] = "ccc";
list($c, $cc, $ccc) = $var1;
// You can't do this, because you only created $var1 as an array of one element
// See what the array contains:
echo '<pre>';
echo "var1 contains:<BR>\n";
print_r($var1);
echo '</pre>';
// You stored the 'aaa' 'bbb' 'ccc' in an array that's in the first element of $var1, so that
// where you should fetch it from.
list($c, $cc, $ccc) = $var1[0];
$x = "c";
for ($i=1; $i<=3; $i++)
{
echo "--->".$$x."<br>";
$x.= "c";
}