Here is a sample class:
class A{
.
.
.
public function updateAction(){
$tags=explode(' ',$taglist);
.
.
.
$tagsInDb=$tagsInDb->toArray();
$dif=array_diff_uassoc($tags,$tagsInDb,"here the callback should be inserted");
}
protected function callback_function_for_array_diff($a,$b){
}
}
How can I call callback_function_for_array_diff as a callback function for array_diff_uassoc?