HTML code Inspection of blocks split up into several files in PhpStorm
问题 Is there a way to tell PhpStorm to only evaluate header.php together with footer.php (as a browser would do when running index.php)? Consider a project containing 4 files index.php - server side stuff, business logic header.php - html with some php prints item.php - html with some php prints footer.php - html with some php prints index.php <?php //Do some important stuff include 'templates/header.php'; foreach($some_array as $item){ include 'templates/item.php'; } include 'templates/footer