Skip to content

Instantly share code, notes, and snippets.

@kvn1234
Created December 22, 2018 00:34
Show Gist options
  • Save kvn1234/e4f9de776b7f1384c8341b8ee7dc8a69 to your computer and use it in GitHub Desktop.
Save kvn1234/e4f9de776b7f1384c8341b8ee7dc8a69 to your computer and use it in GitHub Desktop.
The swap assignment function PHPStorm should have but doesn't
(\s*)([^=^\s]*)\s*=\s*(.*);
$1$3 = $2;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment