"tuesday", 12 => true); echo $arr["dayofweek"]; // bar echo "

"; echo (boolean)$arr[12]; // true echo "


"; $foo = 'Bob'; // Assign the value 'Bob' to $foo $bar = &$foo; // Reference $foo via $bar. $bar = "My name is $bar"; // Alter $bar... echo "the value of bar is ".$bar."
"; echo "the value of foo is ".$foo."
"; // $foo is altered too. ?>