Highlight PHP Code
This function highlight_string() outputs or returns a syntax highlighted version of the given PHP code
using the colors defined in the built-in syntax highlighter for PHP.
[View All Snippets]
[View All Snippets]
Show Plain Text »
- <?php
- highlight_string('<?php phpinfo(); ?>');
- ?>