incrediBILL - 2:25 pm on Nov 14, 2011 (gmt 0)
Smarty is still programming within the web page, doesn't truly fit the real separation of HTML and PHP issue whatsoever. Plus you have to learn all the Smarty syntax, not what I had in mind really.
vsprintf() won't really process an entire HTML page in one shot without knowing how to format it. I just want to embed $variables anywhere on the page without regards to location and be able to print the entire page in one shot, including those variables substituted in the HTML, which my simple like my 3-line code sample above already does without knowing the format.
Why PHP doesn't have any straight forward HTML template options, other than something like Smarty, seems kind of bizarre considering the size of the developer base.