sublimetext2 - Convert php arrays with the new syntax -


i looking way (regex, snippet ,plugin etc) convert old arrays new php syntax sublimetext.

// old synthax $var = array(    'foo' => 'bar'  );  // new synthax $var = [    'foo' => 'bar' ]; 

someone has idea ?

i found script job !

https://github.com/thomasbachem/php-short-array-syntax-converter


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -