Search code examples
phpstorm

Converting all <? to <?php


I have a huge PHP project consisting of many PHP files, most of them opening with <?. Now I'm trying to run this in PHP5.4, so I need to convert all of these to <?php.

Hence my question;

How do I convert all opening tags from <? to <?php ?

I use JetBrains PhpStorm 7.0.


Solution

  • Problem could be solved according to comments. However, I chose to update php.ini to accept short open tags instead.