Skip to content

Limit on array size? #222

Answered by sinnbeck
mlieshout asked this question in Q&A
Discussion options

You must be logged in to vote

This is caused by VarCloner, which Ray uses to prepare the data. The default limit is 2500 items.
https://github.com/symfony/var-dumper/blob/5.x/Cloner/AbstractCloner.php#L189

Now if you take your arrays of 22 items and multiply with 114 (the cutoff) you get 2508, which is just beyond that limit.

It would be possible to extend this, but I am unsure if that is a good idea (that limit is most likely there for a reason)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mlieshout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants