Is there a way of doing something like this:
$test_array = array(\"first_key\" => \"first_value\", \"second_key\" => \"second_valu
With PHP5.3 or later:
$test_array = array("first_key" => "first_value", "second_key" => "second_value"); var_dump( array_map( function($key) use ($test_array) { return "$key loves ${test_array[$key]}"; }, array_keys($test_array) ) );