PHP Short Tag Conversion Program
- This program changes short tags (<?) in PHP files to long tags (<?php).
- If the file has been modified, the original file will have a .bak extension added.
- <?=$hello?> will be changed to <?php echo $hello; ?>.
- Using the option (-s), <?= will not be changed.
- Currently, only UTF-8 format is supported.
How to Use
ConvertShortOpenTag.exe [options] {filename or folder name}
Download
Related Links
- Source: https://github.com/newkilho/ConvertShortOpenTag
License
- Calmuri is freeware. You can use it freely without any space constraints like companies, homes, government offices, schools, etc.
Random Thoughts
- When setting up the server, short_open_tag was set to on by default, and the web hosting service I used also had it on.
- Since I usually write using <?, I ended up missing the <?php part in the source code that I shared and distributed, which is why I created this program.











Leave a Reply