How about a PHP interpreter for erlang?
If you want to follow the progress of the project, you can see this page:
https://github.com/altenwald/ephp/blob/master/doc/COMPATIBIL...
A very simple example is available in this gist:
https://gist.github.com/manuel-rubio/7949523
If you have suggestions, recommendations or questions, don't hesitate to do them to me :-)