$names = array("Johnny", "Timmy", "Bobby", "Sam", "Tammy", "Joe"); $firstname = array_shift($names); // "Johnny" var_dump($names);?>