1--TEST-- 2Test array_values() function : basic functionality 3--FILE-- 4<?php 5/* 6 * Test basic functionality of array_values() 7 */ 8 9echo "*** Testing array_values() : basic functionality ***\n"; 10 11 12// Initialise all required variables 13$input = array('zero', 'one', 'two', 'three' => 3, 10 => 'ten'); 14 15// Calling array_values() with all possible arguments 16var_dump( array_values($input) ); 17 18echo "Done"; 19?> 20--EXPECT-- 21*** Testing array_values() : basic functionality *** 22array(5) { 23 [0]=> 24 string(4) "zero" 25 [1]=> 26 string(3) "one" 27 [2]=> 28 string(3) "two" 29 [3]=> 30 int(3) 31 [4]=> 32 string(3) "ten" 33} 34Done 35