[symfony-users] Re: why do the objects take so long to dump to screen?

2009-07-26 Thread Gareth McCumskey
XDebug is also great to use to try and determine where bottlenecks in your code may be as you can setup it up to do function tracing and dump the data to a file which can be read by various log analysis programs and includes execution times for various functions. On Sun, Jul 26, 2009 at 9:45 PM, J

[symfony-users] Re: why do the objects take so long to dump to screen?

2009-07-26 Thread John - White October
If you can, install xdebug and use var_dump rather than print_r. It stops recursion after a configurable amount of times. Also makes errors pretty... On Jul 26, 6:32 pm, Jake Barnes wrote: > On Jul 26, 7:19 am, Bernhard Schussek wrote: > > > > > Hi Lawrence > > > I suppose you are using Doctrin

[symfony-users] Re: why do the objects take so long to dump to screen?

2009-07-26 Thread Jake Barnes
On Jul 26, 7:19 am, Bernhard Schussek wrote: > Hi Lawrence > > I suppose you are using Doctrine. The problem with dumping Doctrine > records is that they contains cyclic references. That means, a record > references a table, which references the record, which references the > table ... you get

[symfony-users] Re: why do the objects take so long to dump to screen?

2009-07-26 Thread Bernhard Schussek
Hi Lawrence I suppose you are using Doctrine. The problem with dumping Doctrine records is that they contains cyclic references. That means, a record references a table, which references the record, which references the table ... you get the drill. If you try to dump this record, PHP tries to fo