Re: Anyone have a tool/script to convert <? to <?php (but not <?=)

From: Date: Wed, 12 Feb 2014 23:19:08 +0000
Subject: Re: Anyone have a tool/script to convert <? to <?php (but not <?=)
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-322840@lists.php.net to get a copy of this message
Daevid Vincent wrote:
The trick is that "<?=" is valid and legal and I want to keep those. I only want to change if they are specifically "<?" Match to "<? " - there always has to be a space after the ? on the version you want to convert ;)
-- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk Rainbow Digital Media - http://rainbowdigitalmedia.co.uk

« previous php.general (#322840) next »