PHP compare arrays and remove NOT matched objects

前端 未结 0 1352
梦毁少年i
梦毁少年i 2021-01-23 16:46

I want to compare two arrays with each other and remove all objects from the first one who are NOT present in both arrays.

    //array1
    $apiData1 = [
       \         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题