Created
July 2, 2012 16:30
-
-
Save ThijsFeryn/3034109 to your computer and use it in GitHub Desktop.
Using highlight_string to perform syntax highlighting in PHP
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
highlight_string('<?php echo "A line of PHP code a day keeps the doctor away";'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment