My problem is that I have a huge array. In this array are the Browser, the user used to get on my website, but also bots and spiders.
It looks like this: Mozilla, Mozilla, Mozillabot, Mozilla, Unicornbot and so on.
I need to get every key in my array, that have 'bot' in it like mozillabot, unicornbot.
But I cant find something.
array_search doesn't work, array_keys too.
Does anyone know a solution in Laravel?