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 $
}