I have just upgraded to PHP5 and I understand that many of the templating methods in PHP4 aren't compatible with php5 as many php4 class things don't work in PHP5. Are there any tutorials on how to write a PHP5 template engine from the ground up?

Actually I just want to write a template engine in PHP5 to separate design from content. I really don't care if its OO or not.