explode and in_Array search not working

前端 未结 2 1857
抹茶落季
抹茶落季 2021-01-17 03:39

OK here is the code codepad here http://codepad.org/ZQz0Kn3R

function processContent($content, $min_count = 2, $exclude_list = array()) {
    $wordsTmp = ex         


        
2条回答
  •  清酒与你
    2021-01-17 04:15

    http://codepad.viper-7.com/BrZ9Rm

    you will need to pass it through trim:

    $filter_array = array_map(function($el) { return trim($el); }, $filter_array);
    

提交回复
热议问题