PHP can do this itself.<div><br></div><div>php -s file.php on the command line will send it to stdout. There may also be a PHP function, not sure.</div><div><br></div><div>Regards, Paul.<br><br><div class="gmail_quote">2009/10/16 John Crowhurst <span dir="ltr"><<a href="mailto:info@johnscomputersupport.co.uk">info@johnscomputersupport.co.uk</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
<br>
I'm wondering whether there is a program that converts PHP code into its<br>
colours for printing in the same way as code2html does for perl. Does<br>
anyone have any ideas?<br>
<br>
Thanks,<br>
<br>
John<br>
<br>
<br>
__<br>
Sussex mailing list<br>
<a href="mailto:Sussex@mailman.lug.org.uk">Sussex@mailman.lug.org.uk</a><br>
E-mail Address: <a href="mailto:sussex@mailman.lug.org.uk">sussex@mailman.lug.org.uk</a><br>
Sussex LUG Website: <a href="http://www.sussex.lug.org.uk/" target="_blank">http://www.sussex.lug.org.uk/</a><br>
<a href="https://mailman.lug.org.uk/mailman/listinfo/sussex" target="_blank">https://mailman.lug.org.uk/mailman/listinfo/sussex</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Paul Turner<br>Applications Team Leader<br>Rentokil Initial Group Information Services <br><br>EMail: <a href="mailto:paul.turner@rentokil-initial.com">paul.turner@rentokil-initial.com</a> DDI: +44 (0) 1293 858 051 Telephone: +44 (0) 1293 858 000 <br>
<br>Please consider the environment before printing this e-mail<br><br>
</div>
<pre>Registered Office: 2 City Place, Beehive Ring Road,
Gatwick Airport. West Sussex. RH6 0HA.
Registered in England No. 5393279
Information in this message is confidential and is
intended solely for the persons to whom it is addressed.
If you are not the intended recipient please notify the
sender and immediately delete this message from your
computer.
This system may be monitored or recorded to
secure the effective operation of the system
and for other lawful purposes.