You are here: Re: php code formating « PHP Programming Language « IT news, forums, messages
Re: php code formating

Posted by gosha bine on 05/29/07 19:33

Jon Slaughter wrote:
> For debugging purposes of handling evaled code I first write it to a temp
> file and then use include. The problem is, is that the code is not formatted
> and is very hard to follow.
>
> Is there a php library out there that will format php code so that its
> readable?
>
> that is, I want to take a string of php code and add white space and line
> feeds to make it readable.... my simple method of adding newlines after ;'s
> and {'s don't work well cause some strings contain substrings with code in
> it that should not be parsed.
>
> Thanks,
> Jon
>
>

Amongst many others there is
http://pear.php.net/package/PHP_Beautifier




--
gosha bine

extended php parser ~ http://code.google.com/p/pihipi
blok ~ http://www.tagarga.com/blok

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация