fork download
  1. <?php
  2. function f( $arg ) { return $arg; }
  3. $f='f';
  4. ?>
  5.  
  6. Aqui seria o include:
  7. <?php $template =<<<END
  8. <section>
  9.   <section>
  10.   Timestamp: {$f( '['.time().']' )}
  11.   </section>
  12. </section>
  13. END;
  14. ?>
  15.  
  16. <?php echo $template;
  17.  
Success #stdin #stdout 0.01s 52488KB
stdin
Standard input is empty
stdout
Aqui seria o include:

<section>
    <section>
    	Timestamp: [1472859216]
    </section>
</section>