6 echo "${1:string}"${2};
8 include '${1:file}';${2}
10 include_once '${1:file}';${2}
12 require '${1:file}';${2}
14 require_once '${1:file}';${2}
17 $GLOBALS['${1:variable}']${2: = }${3:something}${4:;}${5}
18 snippet $_ COOKIE['...']
19 $_COOKIE['${1:variable}']${2}
21 $_ENV['${1:variable}']${2}
22 snippet $_ FILES['...']
23 $_FILES['${1:variable}']${2}
25 $_GET['${1:variable}']${2}
26 snippet $_ POST['...']
27 $_POST['${1:variable}']${2}
28 snippet $_ REQUEST['...']
29 $_REQUEST['${1:variable}']${2}
30 snippet $_ SERVER['...']
31 $_SERVER['${1:variable}']${2}
32 snippet $_ SESSION['...']
33 $_SESSION['${1:variable}']${2}
42 * ${1:undocumented class}
44 * @package ${2:default}
45 * @author ${3:`g:snips_author`}
47 # Class Variable - post doc
50 * ${1:undocumented class variable}
57 * ${3:undocumented class variable}
65 * ${3:undocumented class}
67 * @packaged ${4:default}
68 * @author ${5:`g:snips_author`}
73 # Constant Definition - post doc
76 * ${1:undocumented constant}
81 * ${3:undocumented constant}
83 define(${1}, ${2});${4}
87 * ${1:undocumented function}
90 * @author ${3:`g:snips_author`}
95 * ${4:undocumented function}
98 * @author ${6:`g:snips_author`}
100 ${1}function ${2}(${3});${7}
104 * ${4:undocumented function}
107 * @author ${6:`g:snips_author`}
109 ${1}function ${2}(${3})
117 * @author ${2:`g:snips_author`}
119 * @copyright ${4:$2}, `strftime('%d %B, %Y')`
120 * @package ${5:default}
129 * ${2:undocumented class}
131 * @package ${3:default}
132 * @author ${4:`g:snips_author`}
136 } // END interface $1
145 function ${4:__construct}(${5:argument})
152 define('${1}'${2});${3}
155 ${1}defined('${2}')${3}
157 while (${1:/* condition */}) {
164 } while (${1:/* condition */});
166 if (${1:/* condition */}) {
170 if (${1:/* condition */}) {
181 elseif (${1:/* condition */}) {
184 # Tertiary conditional
186 $${1:retVal} = (${2:condition}) ? ${3:a} : ${4:b};${5}
188 switch ($${1:variable}) {
202 for ($${2:i} = 0; $$2 < ${1:count}; $$2${3:++}) {
206 foreach ($${1:variable} as $${2:key}) {
210 ${1:public }function ${2:FunctionName}(${3})
216 $${1:arrayName} = array('${2}' => ${3});${4}