xref: /PHP-8.2/Zend/tests/bug45147.phpt (revision f8d79582)
1--TEST--
2Bug #45147 (unexpected T_ENDFOR)
3--FILE--
4<?php for ($i = 0; $i == 0; $i++): ?>
5        <?php if (true): ?>#<?php else: ?>#<?php endif; ?>
6<?php endfor; ?>
7--EXPECT--
8                #
9