上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 15 下一页
摘要: 基础知识 示例: 开发机器是1个物理CPU,4核8线程,Intel(R) Core(TM) i7 3770 CPU @ 3.40GHz 基础 i3:2核模拟4线程,无睿频 i5:4核模拟4线程,有睿频,平台不同(CPU核数也不相同,详见: ) i7:4核模拟8线程, 台式机:i5有双核四线程(如i5 阅读全文
posted @ 2017-12-02 17:23 brookin 阅读(465) 评论(0) 推荐(0)
摘要: 1. array_merge 字符索引:后面的覆盖前面的。 如果输入的数组中有相同的字符串键名,则该键名后面的值将覆盖前一个值。 混合索引:如果数组包含数字键名,后面的值将不会覆盖原来的值,而是附加到后面。从左到右,依次重新索引 如果只给了一个数组并且该数组是数字索引的,则键名会以连续方式重新索引。 阅读全文
posted @ 2017-11-23 20:22 brookin 阅读(200) 评论(0) 推荐(0)
摘要: kill 0 pid sending the signal 0 to a given PID just checks if any process with the given PID is running and you have the permission to send a signal t 阅读全文
posted @ 2017-11-22 10:43 brookin 阅读(294) 评论(0) 推荐(0)
摘要: Under Linux, sleeping time is ignored, but under Windows, it counts as execution time. Note The set_time_limit() function and the configuration direct 阅读全文
posted @ 2017-11-22 10:25 brookin 阅读(208) 评论(0) 推荐(0)
摘要: 构建工程 composer create project test/name project_name help composer help create project 参数 prefer dist 强制使用压缩包,而不是克隆源代码 prefer source 优先使用源代码 阅读全文
posted @ 2017-11-21 20:51 brookin 阅读(188) 评论(0) 推荐(0)
摘要: PHPUnit 运行指定的 testCase phpunit tests/Screw/StrTest 运行指定的 testCase Method phpunit tests/Screw/StrTest filter Println 注意:Method 是大小写敏感的 阅读全文
posted @ 2017-11-21 20:48 brookin 阅读(165) 评论(0) 推荐(0)
摘要: 1. func_get_args 示例 2. using ... operator Notice: PHP version 5.6 meanwhile you can set the type of parameters In php 7 3. use ReflectionClass 阅读全文
posted @ 2017-10-31 11:52 brookin 阅读(213) 评论(0) 推荐(0)
摘要: 差异 1. 上传文件只能使用 POST 2. GET 传输数据有大小限制 3. GET 传输的数据类型不灵活:GET是使用url来传输数据,那么比如空格字符以及类似&这样的字符就不方便传输。(当然可以使用发送前编码,以及接受后解码的方法来解决) 常见特殊字符 url 传输过程编码表 空格 传输过程转 阅读全文
posted @ 2017-10-23 22:45 brookin 阅读(204) 评论(0) 推荐(0)
摘要: 参数逻辑判断 watch 功能:监控 PHP 进程的变化 原理: 重复的执行后面的命令,默认时间间隔是2秒 参数解释 阅读全文
posted @ 2017-08-28 12:05 brookin 阅读(184) 评论(0) 推荐(0)
摘要: 同时打开多个工程,多项目并存 快速模板 阅读全文
posted @ 2017-08-25 18:06 brookin 阅读(133) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 15 下一页