if I have an array, $myarray, with the elements values like (1, 2, 3, 6, 8, 10).
I need a function applies to this $myarray to get rid of the element with certain value
such as
array_function_i_am_looking_for($myarray, 3) will return $myarray with the values (1, 2, 6, 8, 10).
I checked out the array function manual. The closest one is array_filter. And I just need to write a function to compare the value for array_filter.
Are there any other ways to do this job? Thanks!