PHP block shortcut in Visual Studio Code
PHP Snippet 1:
"php": {
"prefix": "php",
"body": [ "<?php $1 ?>" ],
"description": "php tag"
}
PHP Snippet 2:
"php": {
"prefix": ["<?", "<? ", "php"],
"body": [ "<?php $1 ?>" ],
"description": "php tag"
}
PHP Snippet 3:
"php": {
"prefix": ["<?", "php"],
"body": [
"<?php",
"",
"$0",
"",
"?>"
],
"description": "php tag"
}
PHP Snippet 4:
<?php
(code here)
?>