dotfiles/.emacs.d/snippets/php-mode/foreach_value

9 lines
227 B
Plaintext

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