diff --git a/snippets/php.snippets b/snippets/php.snippets index f8a406f..793c2a5 100644 --- a/snippets/php.snippets +++ b/snippets/php.snippets @@ -399,3 +399,7 @@ snippet am ${3} return $$2; }, $$1); +snippet aw + array_walk($${1:foo}, function(&$${2:v}, $${3:k}) { + $$2 = ${4}; + });