php 5.5 and template output