Mago 1.0.0-beta.24
This is a hotfix release that addresses a critical panic in the parser, ensuring greater stability when processing files with mixed PHP and HTML.
🐞 Parser Fix
A bug has been fixed that would cause the parser to panic when a short echo tag (<?=
) immediately followed a closing tag (?>
).
Failing Code (Before):
<?php echo 'First'; ?><?= 'Second'; ?>
This was caused by a legacy check that remained after the recent refactoring of how echo tags are handled. The parser now correctly processes this sequence, making it more robust.
Full Changelog: 1.0.0-beta.23...1.0.0-beta.24