diff --git a/snippets/language-php.cson b/snippets/language-php.cson index 4f30f780..7fcce2aa 100644 --- a/snippets/language-php.cson +++ b/snippets/language-php.cson @@ -148,3 +148,12 @@ '': 'prefix': 'if' 'body': '\n\t$0\n' + '$_POST …': + 'prefix': '_POST[""]' + 'body': '_POST["${0:INPUT NAME}"];' + '$_GET …': + 'prefix': '_GET[""]' + 'body': '_GET["${0:INPUT NAME}"];' + '$_REQUEST …': + 'prefix': '_REQUEST[""]' + 'body': '_REQUEST["${0:INPUT NAME}"];'