PHP is the program that runs on your server to build the page, which includes setting the title to the variable’s value. So the output of your PHP with the variable substituted with the value is what the search engine sees. So, no, PHP has no bearing on your SEO.