1--TEST--
2Test array_keys() function (basic)
3--FILE--
4<?php
5
6echo "*** Testing array_keys() on basic array operation ***\n";
7$basic_arr = array("a" => 1, "b" => 2, 2.0 => 2.0, -23.45 => "asdasd",
8                   array(1,2,3));
9var_dump(array_keys($basic_arr));
10
11echo "Done\n";
12?>
13--EXPECTF--
14*** Testing array_keys() on basic array operation ***
15array(5) {
16  [0]=>
17  string(1) "a"
18  [1]=>
19  string(1) "b"
20  [2]=>
21  int(2)
22  [3]=>
23  int(-23)
24  [4]=>
25  int(3)
26}
27Done
28