摘要:
function mbStrSplit ($string, $len=1) { $start = 0; $strlen = mb_strlen($string); while ($strlen) { $array[] = mb_substr($string,$start,$len,"utf8"); 阅读全文
摘要:
json_encode($params['map_data'],JSON_UNESCAPED_UNICODE) 阅读全文
摘要:
<?php /* * Bpm接口 所需要的处理方法 */ trait Bpm_trait{ /* 处理base64文件 */ public function create_base64_file($base64_file, $up_dir){ header("content-type:text/ht 阅读全文
摘要:
//查看当前所有分支 *为当前分支 git branch //切换并新建分支liruning git checkout -b liruning //分支创建完毕,将本地分支推送到远程(注意:并不是创建远程新分支,推送本地分支即可) git push --set-upstream origin lir 阅读全文
摘要:
1、下载swoole源码 2、解压、进入目录 3、比如用的mamp 环境 ,有多个php版本,用所使用版本的php下的phpize来执行 /Applications/MAMP/bin/php/php7.4.2/bin/phpize ./configure --with-php-config=/App 阅读全文
摘要:
下载扩展源码 进入源码目录 选择要安装的php版本 进swoole目录, /Applications/MAMP/bin/php/php7.4.2/bin/phpize ./configure --with-php-config=/Applications/MAMP/bin/php/php7.4.2/ 阅读全文