1--TEST-- 2Test array_keys() function (variation - 2) 3--FILE-- 4<?php 5 6echo "\n*** Testing array_keys() on an array created on the fly ***\n"; 7var_dump(array_keys(array("a" => 1, "b" => 2, "c" => 3))); 8var_dump(array_keys(array())); // null array 9 10echo "Done\n"; 11?> 12--EXPECT-- 13*** Testing array_keys() on an array created on the fly *** 14array(3) { 15 [0]=> 16 string(1) "a" 17 [1]=> 18 string(1) "b" 19 [2]=> 20 string(1) "c" 21} 22array(0) { 23} 24Done 25