Skip to content

Instantly share code, notes, and snippets.

@b-alidra
Created April 23, 2015 08:31
Show Gist options
  • Save b-alidra/71cd070c3961b8959db7 to your computer and use it in GitHub Desktop.
Save b-alidra/71cd070c3961b8959db7 to your computer and use it in GitHub Desktop.
Remove PHP short tags - Thanks to @kaworu
perl -i -pe 's/<\?(?!php|xml|=)/<?php /g' **/*.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment