It is worth mentioning that, HTML comments have no meaning in PHP parser. So, <!-- comment <?php echo some_function(); ?> --> WILL execute some_function() and echo result inside HTML comment.