<?php
$info = array('q0'=>'coffee', 'q1'=>'brown', 'q2'=>'caffeine');
// Listing all the variables
list($drink, $color, $power) = $info;
echo "$drink is $color and $power makes it special.\n";
Warning: Undefined array key 0 in /in/mlrEl on line 5
Warning: Undefined array key 1 in /in/mlrEl on line 5
Warning: Undefined array key 2 in /in/mlrEl on line 5
is and makes it special.
Notice: Undefined offset: 0 in /in/mlrEl on line 5
Notice: Undefined offset: 1 in /in/mlrEl on line 5
Notice: Undefined offset: 2 in /in/mlrEl on line 5
is and makes it special.
Notice: Undefined offset: 2 in /in/mlrEl on line 5
Notice: Undefined offset: 1 in /in/mlrEl on line 5
Notice: Undefined offset: 0 in /in/mlrEl on line 5
is and makes it special.
Notice: Undefined offset: 2 in /in/mlrEl on line 5
Notice: Undefined offset: 1 in /in/mlrEl on line 5
Notice: Undefined offset: 0 in /in/mlrEl on line 5
is and makes it special.