There are Chrome extensions to remove the ones you don't want so not sure why I'd pay a premium to remove them. w3schools is the first result when I search for "php loop" so Kagi seems to be full of the same spam you are trying to escape:
And again, I'm not sure whether you're just pretending to not understand what I'm saying, but I've already explained (twice) that Kagi lets you choose which spammy results you don't want to see, so "Why would I pay a premium for a search engine that returns a full page of spam?" appears to be answering someone else's post entirely. The whole point of what I'm saying is that you don't get a page full of spam, which you do get on every single one of the big, free search engines. I think I've run out of different ways to explain the same thing now so I'm going to bow out here.