Agree, it's not PHP, it's strings concatenated into a query. Any language could theoretically do this.
LLMs should find (and be able to remediate) SQL injection in PHP very easily, I would think. Not really any excuse for it not getting done.