Aug 082010
Syntax highlighting in PHP
Anwser:
PHP has a built-in function that help to to syntax highlight your PHP codes.
E.g.
<?php
$str = <<<EOT
echo "This is a test";
EOT;
highlight_string($str);
Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.
Syntax highlighting in PHP
Anwser:
PHP has a built-in function that help to to syntax highlight your PHP codes.
E.g.
<?php
$str = <<<EOT
echo "This is a test";
EOT;
highlight_string($str);