Update php.snippets

This commit is contained in:
Nicklasos 2013-04-17 00:52:43 +03:00
parent 42168b1c17
commit b66dd896e1

View File

@ -14,11 +14,11 @@ snippet ?=
snippet ? snippet ?
<?php ${1} ?> <?php ${1} ?>
snippet ?f snippet ?f
<?php foreach (${1:$vars} as ${2:$var}): ?> <?php foreach ($${1:vars} as $${2:$var}): ?>
${3} ${3}
<?php endforeach ?> <?php endforeach ?>
snippet ?i snippet ?i
<?php if (${1}): ?> <?php if ($${1:var}): ?>
${2} ${2}
<?php endif ?> <?php endif ?>
snippet ns snippet ns