Showing posts with label PHP highlight. Show all posts
Showing posts with label PHP highlight. Show all posts

Wednesday, 3 June 2015

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.
 <?php
    highlight_string('<?php phpinfo(); ?>');
    ?>