PHP has a feature that allowed you to check HTML mrkup in your PHP code using PHP command. Just use the -s switch with php command and php file. It will show the HTML markup of your php file.
First create php file “Hello.php”
Command to check markup in your PHP script:
Below screen showing running php command with html markup