Skip to content

Instantly share code, notes, and snippets.

@rafageist
Created June 4, 2017 21:23
Show Gist options
  • Save rafageist/6e9ff08eaaf5a92b00cfc517a6fe087f to your computer and use it in GitHub Desktop.
Save rafageist/6e9ff08eaaf5a92b00cfc517a6fe087f to your computer and use it in GitHub Desktop.
Hello World of Div PHP Template Engine
<?php
include "div.php";
echo new div("index.tpl", ["world" => "Earth"]);
Hello {$world}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment