|
Posted by Jon Slaughter on 05/29/07 21:19
"gosha bine" <stereofrog@gmail.com> wrote in message
news:465c81bc$0$2889$6e1ede2f@read.cnntp.org...
> 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
>
>
>
Thanks, this looks like it might works(but I have no experience with pear
but I can probably manage).
Thanks again,
Jon
Navigation:
[Reply to this message]
|