We are developing a site with the binarycloud platform,
which is completely object oriented with (sometimes)
large (deep) trees of objects.

Sometimes in the place where we need it, deep down, we
try to use print_r on the object tree, or subtree, and
the machine load average goes to the moon, and before
Apache can kill the child, everything locks, and a hard
reset is necessary.

Has anybody on this list ever tried to impliment a print_r
with an argument that specifies maximum depth of array
recursion?  This would be very useful in normal debugging
in any case, as most data structures don't go as deep
as ones we are using.

Anybody interested in this besides me?

_justin
-- 
Justin Farnsworth - Technical Director
Eye Integrated Communications
321 South Evans - Suite 203
Greenville, NC 27858 | Tel: (252) 353-0722

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to