diff --git a/snippets/php.snippets b/snippets/php.snippets index 6ca1f58..3e5a9be 100644 --- a/snippets/php.snippets +++ b/snippets/php.snippets @@ -394,3 +394,8 @@ snippet rett return true; snippet retf return false; +snippet am + array_map(function($${1:v}) { + ${3} + return $$1; + }, $${2:foo});