- array_map: documentation ( source)
- print_r: documentation ( source)
- array_filter: documentation ( source)
<?php
$test = array('key' => 'value');
print_r(array_map(function($key,$value){return $value;}, array_filter($test, function($value){ return $value == 'value';})));