text: In most cases, the output of the PHP script is the HTML. So, all you have to do is access the script via a web browser, or run it via the command line processor.\n\nIt is possible for a PHP script to not output HTML, and these are not convertable as-such.\n\nIf you're looking to turn PHP code into highlighed source HTML, try the code2html plugin for jEdit.