更新记录
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 () {} |