github carthage-software/mago 1.0.0-beta.24
Mago 1.0.0-beta.24

2 hours ago

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

Don't miss a new mago release

NewReleases is sending notifications on new releases.