Description
Hi,
I'm working on an application that heavily relies on sub-requests.
During our development stage, one of our developers made a mistake and forgot to send a variable to Twig.
The expected scenario would be an exception, but what happened was xdebug working on preventing the recursion after 200 nesting level.
It seems the PDO Profiler Storage is broken because it tries to collect the data, but token points to parent page and it enters in a recursive loop. This means $data['parent'] === $token in PdoProfilerStorage::createProfileFromData().
Unfortunately, this became a blocker for our team and we are behind the schedule, so I don't have enough time to test other drivers now.
I worked over this problem and fixed that: #3618