Ok so I have a large array and a large text to search my aim to create a new array based on what items in the large array are found in the text
so something like
$myarray = array("apple juice","nice cake","ice cream",...)
$my text = "I like apple juice and ice cream"
foreach ($myarray as $item):
$x = strpos($mytext, $item);
if (strpos !== 0) $newarray[] = $item;
endforeach;
given that its a large text and a large array is this the quickest way of doing this?