public function executeTest($test_obj, $test_func, $input) { if ($input === null) { $input = array(); } return call_user_func_array(array($test_obj, $test_func), $input); }
function executeTest($test_obj, $test_func, $input) { try { return parent::executeTest($test_obj, $test_func, $input); } catch (Exception_ValidityCheck $e) { return $e->getField() . ': ' . $e->getMessage(); } }