$favorite_color = 'blue';$favorite_weapon = 'gun';$favorite_drink = 'beer';$favorite_things = array('color', 'weapon', 'drink');foreach ($favorite_things as $thing) { echo '', $thing, ' = ', ${"favorite_{$thing}"}, '';}?>
', $thing, ' = ', ${"favorite_{$thing}"}, '