> These days I'm looking at a big codebase that has inconsistency in > tabbing & spacing... Is there a PHP pretty-printer out there that's > good for cleaning up source code (rather than outputting HTML?)
Give http://pear.php.net/package/PHP_Beautifier a try. Some text editors take care of this too. I use EditPlus and it has functionality that performs tab/space conversion (under the Edit | Format menu). --Dan -- T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y data intensive web and database programming http://www.AnalysisAndSolutions.com/ 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409 _______________________________________________ New York PHP Users Group Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk http://www.nyphp.org/Show-Participation