When writing ASP pages, there is a marked improvement in performance if you minimise the switch between vb script and HTML by using response.write to echo the HTML code and to skip using the <%=whatever%> shortcuts.
What I am wondering is does the same hold for PHP? If instead of jumping in and out of PHP code in a page of HTML I coded the whole lot in PHP would there be an improvement in performance?
Much of the HTML could be run in functions (eg open and closeing tables springs to mind) of just echo using echo, print, printf etc.
Does anyone have any opinions on this, or any references to benchmark sites I can take a look at?
Thanks in advance.