snippet arr $${1:array} = ['${2}' => ${3}]; endsnippet snippet if if (${1:condition}) { ${2} } endsnippet snippet if2 ${2} endsnippet snippet ife if (${1:condition}) { ${2} } else { ${3} } endsnippet snippet ife2 ${2} ${3} endsnippet snippet else else { ${0} } endsnippet snippet else2 endsnippet snippet for for ($${1:i} = 0; $1 < ${2:$count}; $$1 += 1) { ${3} } endsnippet snippet for2 ${3} endsnippet snippet fek foreach ($${1:variable} as $${2:key} => $${3:value}) { ${4} } endsnippet snippet fek2 $${3:value}): ?> ${4} endsnippet snippet fe foreach ($${1:variable} as $${2:value}) { ${3} } endsnippet snippet fe2 ${3} endsnippet snippet get $_GET['${0}'] endsnippet snippet post $_POST['${0}'] endsnippet snippet sess $_SESSION['${0}'] endsnippet snippet inc include '${0:filename}.php'; endsnippet snippet req require '${0:filename}.php'; endsnippet snippet t $${1:var} = (${2:condition}) ? ${3} : ${4}; endsnippet snippet cl echo '
' . var_dump(${0:var}) . '
'; endsnippet snippet bug echo '
' . var_dump(${0:var}) . '
'; endsnippet snippet fun function ${1:name}(${2:$param}) { ${3} } endsnippet snippet cls class ${1:Class} { public function __construct(${2:$options}) { ${3} } } endsnippet snippet ph endsnippet snippet endsnippet snippet == endsnippet snippet sw switch (${1:expression}) { case '${2:case}': ${3} break; default: ${4} break; } endsnippet snippet case case '${1:case}': ${2} break; endsnippet