Interestingly, it looks like Chrome understands what's in between>? php and? <is not a browser tag and is instead expressed HTML code and never allows it to get a displayed HTML tree. You can see a much simpler version of the same here.
Source
<?php echo ('test'); ?> test
URL:
http:
If you are viewing the source with Chrome, PHP code is not displayed. If you do this with Firefox, it is.
It is important to remember that your PHP code is not executing. Chrome loads the page with the raw PHP code in it, sees the raw PHP code and deletes it before the page displays.
Update . In 2015, you saw an increase in this indicator, and now it looks like .
Alan storm
source share