PHPackages                             kix/open-tag-fixer - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. kix/open-tag-fixer

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

kix/open-tag-fixer
==================

A tool to automatically change PHP short-tag &lt;?/&lt;?= notation into valid &lt;?php and &lt;?php echo syntax

26PHP

Since Dec 28Pushed 12y agoCompare

[ Source](https://github.com/kix/php-open-tag-fixer)[ Packagist](https://packagist.org/packages/kix/open-tag-fixer)[ RSS](/packages/kix-open-tag-fixer/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

PHP Open tag fixer
==================

[](#php-open-tag-fixer)

This tiny script is aimed at fixing the bad and ugly PHP short open tag syntax. It is based on PHP's tokenizer extension, so you'll have to install it first.

Please note, this is not a Regex replace implementation, this script will only match valid `
