Skip to content

ahukkanen/php_stc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP Shortags Converter

A simple script to convert all the shortag PHP scripts in a folder (and its subfolders) to full tag representation.

Usage

  1. Copy stc.php to your project's root folder
  2. Open up a console and navigate to your root folder
  3. run "php -d short_open_tag=On stc.php"

After this all your project files should be converted to full tag representation. The output of the script will show you what files it converted.

Why?

Could not find a simple script for this purpose that I can just copy+paste and run. All the references found quickly suggested to do this by hand as this is pretty easy task.

But hey, I'd like to save my 10 mins a day!

About

PHP Shortags Converter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages