<?php $test = array('key' => 'value'); print_r(array_filter($test, function($key, $value){ return $value == 'value';}) );
You have javascript disabled. You will not be able to edit any code.