-
-
Save mungurs/495e5788c00c29c959a5a95b59b9c7fb 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