PHP zencoding phpstorm

Source: Internet
Author: User

Inspired by jjs, jquery's zencoding webstorm & phpstorm, I occasionally played PHP and sorted out a few common PHP files. They aim to inspire others to learn from each other. Their Operation habits are different from their thinking habits, for details, refer to the following. Different replacement templates can be organized based on different development processes. The appearance of zencoding completely changes the way HTML and CSS are written, however, only jetbrains ide developed this technology. As far as I know, intellij idea
, Phpstorm, and webstorm can all be replaced. Other editors do not have this function. For details about how to add webstorm and phpstorm, see JS and jquery zencoding. For details about how to set webstorm, refer to webstorm 3.0, a front-end development tool.

E: Echo ;
EC: Echo '';
R: Return ;
G: $ _ Get ['$ End $']
P: $ _ Post ['$ End $']
/? : <? PHP?>
I: Include " $ End $ ";
IO: Include_once " $ End $ ";
Re: Require " $ End $ ";
REO: Require_once " $ End $ ";
MQ: Mysql_query ()
Fore:
Foreach ( $ Iterable $ As $ $ Var_value $ ){
$ End $
}
Prif:
Private Function $ Name $ ( $ Parameters $ ){
$ End $
}
Prisf:
Private Static Function $ Name $ ( $ Parameters $ ){
$ End $
}
Prof:
Protected Function $ Name $ ( $ Parameters $ ){
$ End $
}
Prosf:
Protected Static Function $ Name $ ( $ Parameters $ ){
$ End $
}
Pubf:
Public Function $ Name $ ( $ Parameters $ ){
$ End $
}
If :
If ( $ End $ ){
}
Ifel:
If ( $ End $ ){
} Else {
}
El:
Else {
$ End $
}

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.