Added array_walk snippet
This commit is contained in:
parent
2c858bb724
commit
8ec2e4ce7a
@ -399,3 +399,7 @@ snippet am
|
|||||||
${3}
|
${3}
|
||||||
return $$2;
|
return $$2;
|
||||||
}, $$1);
|
}, $$1);
|
||||||
|
snippet aw
|
||||||
|
array_walk($${1:foo}, function(&$${2:v}, $${3:k}) {
|
||||||
|
$$2 = ${4};
|
||||||
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user