Testing this on a vBulletin 3.5.x-dev build all that I was able to produce was HTML output, no arbitrary PHP code was executed.

You can test this by simply inserting <?php echo "foo"; ?> into a template nothing appears.

If there are more steps please do provide them.