Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Parser: Fix default PHP parser to cast inner blocks as arrays
Since the introduction of the default parsers we have had a bug in the PHP version whereby inner blocks were being popped onto the output stack as PHP classes instead of as simple associated arrays. Blocks that weren't inner blocks were being properly type-casted as arrays. This patch adds the cast in where it's needed in order to fix this inconsistent behavior. So far this hasn't caused any troubles or exposed itself but while working on other PRs like #11434 it became evident in test code.
- Loading branch information