How do I write php code on android?

Hello, I am looking for a talkback compatible text editor that has features suted to programming applications such as php code. I'm looking for something that will preserve case and punctuation. It will have to have keyboard support. It has to preserve line breaks. Ideally it would number lines, but if not, then it has to have a feature where I can enter a line number and go straight there.