2018-08-05 另类的遍历 PHP 数组方法 在 PHP 中,遍历数组通常使用 foreach、for 或 while 等基本方法。然而,PHP 提供了许多其他有趣和高效的方式来遍历数组。本文将介绍一些另类的遍历数组的方法,帮助你更灵活地处理数组数据。 1. 使用 arraywa... 阅读全文
2018-03-01 php7.2 使用xhprof 问题 最近项目面临测试基本服务ok, 开始检查性能及流程问题. 使用xhprof可视化观察接口问题. 出现一些问题 1. 下载xhprof, 这里下载吧 :https://github.com/longxinH/xhprof.git 2. ... 阅读全文
2018-02-27 腾讯云 Centos 安装 PHP 开发环境 腾讯云做活动花了120买了台 1核2G的云服, 记录下装机全过程为以后准备; 安装软件配置 : - Nginx - Mysql - Redis - MongoDB - PHP7 - swoole - yar - yac - yaf -... 阅读全文
2018-02-15 用protobuf编译时报错:protoc: error while loading shared libraries: libprotoc.so.9: cannot open shared object file: No such file or directory 的解决方法 export LDLIBRARYPATH=/usr/local/lib 阅读全文