Seeking open source or LGPL repalcement for var_dump()
<p>Before I code my own ... I have tried all the code in the PHP manual and not of it is very good. I have Gogoled for hours, but tend to find only GPL code, which can't be included in a commercial product (I'm just a guy trying to make a few bucks on the side, not working for a mega-corporation which could develop or buy code).</p>

<p>Things like <a href="http://krumo.kaloyan.info/" rel="nofollow">Krumo</a> look very good, but are actually too sophisticated for me. For instance, I don't want to click to expand, since I want to use the code in my error page and have the user copy/paste it into an email or print it out &amp; fax it.</p>

<p>What I want is table dump, recursed, preferably with variable type as well as value and a count of array members (maybe string lengths too). Something static, simple and straightforward, which will mostly be used to dump $_SESSION on the error page (oh, and a nicely formatted stack trace would be nice too ;-)</p>

<hr>

<p>Update: Please, standalone code only; nothing that is part of a framework. Thanks.</p>
