Open GoogleCodeExporter opened 9 years ago
Any other ideas how to rectify this problem?
I purposely leave out the ending PHP tag ?> in purely PHP files in order to
save space (granted it's not much but it's a habit now). --preserve-php is
ignored in this scenario.
PHP comments are also not removed and there seems to be no option to remove
them, only HTML ones
Thanks
Original comment by u01jmg3
on 19 Apr 2013 at 1:32
Try this regexp:
(?si)<\?php.+?\?>
(?si)<\?php.*\Z
Original comment by volny.li...@gmail.com
on 28 Jun 2013 at 12:41
Original issue reported on code.google.com by
anto...@pykiss.com
on 16 Dec 2011 at 12:53Attachments: