PHP Short Tag Conversion Program

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

이메일 주소는 공개되지 않습니다. (* 질문, 건의사항 등은 "질문게시판"을 이용해주세요)