[EMAIL PROTECTED] wrote: > On Thu, 14 Mar 2002, Yasuo Ohgaki wrote: > > >>Andrey Hristov wrote: >> >>> I don't like print_r and most of the time I use var_dump() . Today I tried to >print_r() $GLOBALS but not within a function and >>>print_r() was smart to say that there is a recursion without diving in. var_dump() >is diving up, up to some max level and produces >>>E_WARNING. Is this the supposed behaviour? Isn't it better var_dump() to detect >recursion like print_r() does? >>> >>>Best regards, >>>Andrey Hristov >>> >>> >>> >>File a bug report. It's easy one to fix. >> > > It's not an easy fix. >
I know print_r and var_dump differs a lot. Anyway, it's not too easy, but not hard also. Someone may fix :) -- Yasuo Ohgaki [EMAIL PROTECTED] -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php