How do I display PHP code in HTML?
Replace all occurences of < with < (and optionally > with >):
<
>
<?php echo 'hello world'; ?>