Skip to content

Instantly share code, notes, and snippets.

@b-alidra b-alidra/short_tags
Created Apr 23, 2015

What would you like to do?
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
You can’t perform that action at this time.