Array_Filter does not runs directly for arrays defined as class data members.
Use the below code to filter such an array.
$fltr_instance=array_filter($array,array('className', 'callBack function defined in class'));
Use the below code to filter such an array.
$fltr_instance=array_filter($array,array('className', 'callBack function defined in class'));
No comments:
Post a Comment