<?php
// define an array
$WoWClasses = array('Druid', 'Shaman', 'Paladin', 'Hunter', 'Warrior', 'Death Knight', 'Priest', 'Mage', 'Warlock');
print_r($WoWClasses);
?> In our example above, we can then print the contents of the array using print_r. Once we know how to create an array, we can then use loops to cycle though them using all of their contents.

