Last active
January 17, 2017 03:44
-
-
Save dirx/60414eb80da9c7dbfb19 to your computer and use it in GitHub Desktop.
Convert multiple array() to new php 5.4 style [] in code with phpstorm
This file contains 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
Search regexp: \barray\(([^\(]*?)\) | |
Replace with: [$1] | |
Search & replace until it´s done. | |
Does not work if ( is in array keys or values. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment