I think its a great task for an AI with a greater context window. Don't give up yet. CHat GPT can be prompted to be less verbose. You can also use the openai playground, upload your php, and use the model with the bigger context window.