<i>Intended for 'drop in' PHP replacement - if it runs on PHP and doesn't use a few things like eval() it will compile with HipHop</i><p>This sounds a lot like Python's 2to3.  This technique worked so well that the Python 2 series is a distant memory of the past.<p>(Oh wait... the opposite.)