Skip to content

Instantly share code, notes, and snippets.

@ThijsFeryn
Created July 2, 2012 16:30
Show Gist options
  • Save ThijsFeryn/3034109 to your computer and use it in GitHub Desktop.
Save ThijsFeryn/3034109 to your computer and use it in GitHub Desktop.
Using highlight_string to perform syntax highlighting in PHP
<?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