<? $words = array("Hello", "World", "Foo", "Bar", "Baz"); var_dump($words); asort($words); var_dump($words); var_dump(array_values($words)); ?>