Add original template.php

From Jison commit 40d7bf69e1d83d33e281efb73c8d0c28bcc100df
Make the PHP Parser be variable-aware