Yes, that would be something huge (or maybe I'm thinking that because I have this idea for a long time and really wish someone would do this).
Obviously, the quality of the output php code would matter a lot. Actually, by quality I mean mostly the performance.