Any decent php formatter/beautifier/pretty printer?


Posted on 16th Feb 2014 07:03 pm by admin

Any decent php formatter/beautifier/pretty printer class/function?

I found the following whilst searching:

http://www.codeassembly.com/A-php-code-beautifier-that-works/

http://www.phpclasses.org/browse/package/1783.html

But both are not any good - they sometimes strip html tags and can cause syntax errors, any suggestions to alternativeS?

No comments posted yet

Your Answer:

Login to answer
278 Like 8 Dislike
Previous forums Next forums
Other forums

Need Successful Return
Hello I am currently working a form here, and I have everything figured out except when I click the

Why will this program not run if the variables are not global?
Hey guys I have a kind of perplexing situation that is probably simple, but I can't seem to understa

Escaped characters
I have a script that allows you to post news to the home page of my site. Along with the news is the

LinkedList help
Ok so I just learned quickly about lists, so I have a not too hard project I think, but am having a

Linkage between two scripts
Okay say I have this for a link in a script:

Code: <li><a href="#&q

Parse String
I need to parse the string below into three variables. How would I do that?

john + 10/20/2008

urldecode question
How would I format this line of code properly?

<?php echo urldecode($_GET['Title']); ?

Content-Disposition: attachment; filename=... not working as i thought it should
taken the following code from the php.net site the script is not working.

what is not happeni

Can't find the problem (no error message)!
OK, here's the deal. This code is really weirdly formatted (sorry!) and hard to understand, so I'm g

Converting RGB values to HEX
Code: <?PHP

$file_handle = fopen("colors/rgb.csv", "r");

wh

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash