Php version of Zencoding phpstorm has been inspired since js Js, jQuery version of Zencoding webstorm & phpstorm. it occasionally plays with php and sorts out several common php files to encourage others, each person's operation habits and thinking habits are different. for details, refer to different development procedures and organize different replacement templates, the emergence of zencoding completely changed the way to write html and css. However, only jetBrains ide developed this technology. as far as I know, IntelliJ IDEA, phpstorm, you can add related replicas for webstorm. 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 $']
/? :
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 $
}