Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

UPDATE REQUEST METHODS #183

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 9 additions & 0 deletions snippets/language-php.cson
Original file line number Diff line number Diff line change
Expand Up @@ -148,3 +148,12 @@
'<?php if (…) ?> … <?php endif ?>':
'prefix': 'if'
'body': '<?php if (${1:condition}): ?>\n\t$0\n<?php endif; ?>'
'$_POST …':
'prefix': '_POST[""]'
'body': '_POST["${0:INPUT NAME}"];'
'$_GET …':
'prefix': '_GET[""]'
'body': '_GET["${0:INPUT NAME}"];'
'$_REQUEST …':
'prefix': '_REQUEST[""]'
'body': '_REQUEST["${0:INPUT NAME}"];'