I work with web sites that use Apache SSI (server side include) statements extensively to generate page headers and navigation. Sometimes the includes nest up to five pages deep. (They consist of mainly if statements and other includes).
I'm programming a new site from the ground up over the next week and I expect to be using PHP for database queries and dynamic pages in the future. So I'd like to use PHP from the ground up so I can plug in these features later.
My question is: If I use PHP statements to perform simple SSI tasks that I'm used to using, will the performance of my site benefit or suffer? Should I stick to SSI and simply use PHP virtual() commands to include headers/footers?
Thanks in advance.