Created
February 8, 2016 14:55
-
-
Save shimondoodkin/5a3ae5b32f63553385f5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fix vanilla forum hhvm | |
An iterator cannot be used with foreach by reference. | |
find /var/www/forum -type f -exec perl -i -p -e "s/(foreach.+?as\s*)&/\1/" {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment