[php-src] PR #13731: Implement request #71571: XSLT processor should provide option to change maxDepth
| From: | nielsdos | Date: | Sat, 16 Mar 2024 16:54:19 +0000 |
| Subject: | [php-src] PR #13731: Implement request #71571: XSLT processor should provide option to change maxDepth | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-25444@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/13731
Author: nielsdos
There are two depth limiting parameters for XSLT templates.
1) maxTemplateDepth
This corresponds to the recursion depth of a template. For very
complicated templates this can be hit.
2) maxTemplateVars
This is the total number of live variables. When using recursive
templates with lots of parameters you can hit this limit.
This patch introduces two new properties to XSLTProcessor that corresponds to the above variables.