ZF-11385: Zend_Json doesn't seem to count recursion correctly
The following XML fragment has a nested depth of 6. It however throws a maxRecursion error ($maxRecursionDepthAllowed is set to 25). If I remove any one of the nodes below, it translates perfectly. So it is counting across nodes as well.
$body = <<success200 OKABCDEFGHABCDEABCDEABCABCD0.0790269374847 EOF; header('Content-type', 'text/json'); echo Zend_Json::fromXml($body, true);
If I add these lines in _processXml to see what's going on:
... I find that it is counting every node laterally rather than by depth.