更新记录

0.0.1(2020-12-05)

增加php常用的代码片段


平台兼容性

HBuilderX最低兼容版本
2.7.0

HBuilderX插件通用注意事项

HBuilderX-2.7.12以下版本安装插件市场内的插件后,卸载时需手动卸载,详细教程参考:如何手动卸载插件


前缀 代码块
def define()
ifend if(): endif;
ifelseend if(): else: endif;
ifelseifend if(): elseif(): else: endif;
if if(){}
ifelse if(){}else{}
ifelseif if(){}elseif(){}else{}
foreachend foreach(): endforeach;
forend for(): endfor;
whileend while(): endwhile;
dowhile do while();
switch switch
$G $_GLOBALS['']
$se $_SERVER[""]
$r $_REQUEST[""]
$p $_POST[""]
$g $_GET[""]
$f $_FILES[""]
$e $_ENV[""]
$c $_COOKIE[""]
$s $_SESSION[""]
date date("",)
in include "";
req require "";
function function () {}
def define()
ifend if(): endif;
ifelseend if(): else: endif;
ifelseifend if(): elseif(): else: endif;
if if(){}
ifelse if(){}else{}
ifelseif if(){}elseif(){}else{}
foreachend foreach(): endforeach;
forend for(): endfor;
whileend while(): endwhile;
dowhile do while();
switch switch
$G $_GLOBALS['']
$se $_SERVER[""]
$r $_REQUEST[""]
$p $_POST[""]
$g $_GET[""]
$f $_FILES[""]
$e $_ENV[""]
$c $_COOKIE[""]
$s $_SESSION[""]
date date("",)
in include "";
req require "";
function function () {}

隐私、权限声明

1. 本插件需要申请的系统权限列表:

2. 本插件采集的数据、发送的服务器地址、以及数据用途说明:

插件不采集任何数据

3. 本插件是否包含广告,如包含需详细说明广告表达方式、展示频率:

许可协议

MIT协议

使用中有什么不明白的地方,就向插件作者提问吧~ 我要提问