I have 2 arrays : “Array-List” and “Array-Criteria” :
Array-List
(
[1] => APPLE
[2] => BANANA
[3] => ORANGE
[4] => LEMON
)
Array-Criteria
(
[0] => 1
[1] => 3
)
Is there a quick way (my Array-List
can consist of thousands of entries) to select the values from Array-List
based on Array-Criteria
without looping through Array-List
in PHP?