Re: [PHP] limit to var_dump?

2010-04-17 Thread Michiel Sikma
On 16 April 2010 16:15, Ashley Sheridan a...@ashleysheridan.co.uk wrote: I'm seeing some strange behaviour with var_dump. Is there a limit to how many levels deep that var_dump can display? -snip- However, when I var_dump the top-most object (the Gantt object) the predecessors array for

[PHP] limit to var_dump?

2010-04-16 Thread Ashley Sheridan
I'm seeing some strange behaviour with var_dump. Is there a limit to how many levels deep that var_dump can display? Basically, my object looks like this: object(Gantt)[1] public 'tasks' = array 1 = object(Gantt_Task)[2] public 'name' = string 'task 1' (length 6)

Re: [PHP] limit to var_dump?

2010-04-16 Thread Peter Lind
There's a limit to how deep var_dump goes, at least if you're using xdebug. Compare the output with that of print_r which is not limited in the same way. On 16 April 2010 16:15, Ashley Sheridan a...@ashleysheridan.co.uk wrote: I'm seeing some strange behaviour with var_dump. Is there a limit to