function arrayKeys($array) {
print_r($array);
return array_keys($array);
}
print_r(arrayKeys(["House" => "White", "Car" => "Black"]));
// testing print_r outputs: ( [House] => White, [Car] => Black )
// The function returns: ( [0] => House, [1] => Car )