Re: call_stack
| From: | Miham KEREKES | Date: | Wed, 27 Nov 2002 20:02:50 +0000 |
| Subject: | Re: call_stack | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-91824@lists.php.net to get a copy of this message | ||
> Is there a concensus on how arguments should be printed out?
> I'm shooting right now for a 'cluck' style backtrave
> class::function() called at file:line
>
> Perhaps
>
> class::function() called at file:line
> Arguments:
> print_r(args)
>
> ??
Well, probably the following:
class::function() called at file:line
with arguments: nice_serialize(args)
where nice_serialize() do almost the same as serialize, but the result
were _more_ human readable
This solution would give shorter trace.
But - it's only my opinion :-)
M.