What is the best method to display the entire content of a PHP file in a web browser without altering the code?

When trying to display the entire content of a PHP file in a web browser without altering the code, the best method is to use the PHP `highlight_file` function. This function will display the code with syntax highlighting, making it easier to read and understand. By using this function, you can showcase the PHP file's content in a browser without executing the code.

<?php
highlight_file('your_php_file.php');
?>