Alternatively, use languages that aren't PHP and actually have standards and have a designed API rather than something organically grown into a disgusting mess.
That said, I used PHP for years and am very familiar with how annoying the lack of standardization is. I took the opposite approach from you, I just used a text editor and hit php.net/$foo until I had the parameter orders burned into my head.