finish php env, auto-complete spent me a lot of time