Klimi's new dotfiles with stow.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
227 B

5 years ago
  1. # -*- mode: snippet -*-
  2. # contributor: USAMI Kenta <tadsan@zonu.me>
  3. # name: foreach (array as $key => $value)
  4. # key: foreach=>
  5. # group : control structure
  6. # --
  7. foreach (${1:$expression} as \$${2:key} => \$${3:value}) {
  8. $0
  9. }