php code coloring

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
nwp
Forum Contributor
Posts: 105
Joined: Sun Feb 04, 2007 12:25 pm

php code coloring

Post by nwp »

Are ther any functions in php that would convert
<?php
echo "Hello";
?>
To

Code: Select all

<?php
echo "Hello";
?>
thats Color the php codes according to php documentor or some others ??
User avatar
Kieran Huggins
DevNet Master
Posts: 3635
Joined: Wed Dec 06, 2006 4:14 pm
Location: Toronto, Canada
Contact:

Post by Kieran Huggins »

in fact there is! The php manual uses highlight_string() and/or highlight_file()
nwp
Forum Contributor
Posts: 105
Joined: Sun Feb 04, 2007 12:25 pm

Post by nwp »

Thanks
Post Reply