$veggies = array("Potato", "Cucumber", "Carrot", "Orange", "Green Beans", "Onion");
$fruits = array("Apple", "Banana", "Orange", "Pineapple", "Grapes", "Watermelon");
$salad = array_merge ($veggies, $fruits);
$Object = 'C';
$search = array_filter($salad, function($el) use ($Object)
{
return ( strpos($el, $Object) !== FALSE );
});
print_r($search);
strpos($el[0], $Object)
strpos($el, $Object)