上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 48 下一页
摘要: 1.Scanning(Lexing) ,将PHP代码转换为语言片段(Tokens) 2.Parsing, 将Tokens转换成简单而有意义的表达式 3.Compilation, 将表达式编译成Opocdes 4.Execution, 顺次执行Opcodes,每次一条,从而实现PHP脚本的功能。总结: 阅读全文
posted @ 2022-10-17 13:12 仁义礼智信的 阅读(86) 评论(0) 推荐(0)
摘要: firewall-cmd --permanent --zone=public --list-ports firewall-cmd --zone=public --add-port=8000/tcp --permanent firewall-cmd --reload firewall-cmd --li 阅读全文
posted @ 2022-09-30 09:01 仁义礼智信的 阅读(194) 评论(0) 推荐(0)
摘要: 1.警惕switch/in_array等的松比较(loose comparision) 来源:https://www.laruence.com/2011/03/24/858.html 阅读全文
posted @ 2022-09-13 09:25 仁义礼智信的 阅读(22) 评论(0) 推荐(0)
摘要: $arr[2] = 'test';$arr[1] = 2007;$arr[0] = 2008; foreach ($arr as $key => $val) { echo $val;} print_r($arr);print_r(array_values($arr));exit; 阅读全文
posted @ 2022-08-24 17:38 仁义礼智信的 阅读(23) 评论(0) 推荐(0)
摘要: var_dump("1" == "1e0"); var_dump("1" == "0x1"); var_dump("20" == "2e1"); var_dump("10" == " 0x0a"); 阅读全文
posted @ 2022-08-24 16:20 仁义礼智信的 阅读(23) 评论(0) 推荐(0)
摘要: 例如有一个名为temp.txt的文件,里面有一些文本内容如下: hello javahello pythonhello shellhello javascript1234现在我们需要统计其中"hello"这个字符串的出现次数,使用shell编程有如下实现方法: 第一种方法# "hello"表示待查找 阅读全文
posted @ 2022-08-12 10:29 仁义礼智信的 阅读(836) 评论(0) 推荐(0)
摘要: 转自: https://www.yisu.com/zixun/367919.html 还有一篇: https://www.laruence.com/2008/04/16/98.html php中怎么使用fsockopen实现异步请求,相信很多没有经验的人对此束手无策,为此本文总结了问题出现的原因和解 阅读全文
posted @ 2022-08-04 08:16 仁义礼智信的 阅读(247) 评论(0) 推荐(0)
摘要: /** * param $source * param $target * param $percent float 百分比 * return void */function resize($source, $target, $percent){ $sourceInfo = getimagesize 阅读全文
posted @ 2022-08-03 16:50 仁义礼智信的 阅读(468) 评论(0) 推荐(0)
摘要: 转自:https://blog.csdn.net/LizequaNNN/article/details/124746761 转自:https://blog.csdn.net/weixin_43916982/article/details/118856135 通常重启使用的命令是 service vs 阅读全文
posted @ 2022-07-07 09:07 仁义礼智信的 阅读(130) 评论(0) 推荐(0)
摘要: 转自 https://zhuanlan.zhihu.com/p/150861731 在本机用Navicat链接阿里云Ubuntu 1804 MySQL5.7数据库报错,如下:2003-Can’t connect to Mysql server on ‘xxx’ (10060 “Unknown err 阅读全文
posted @ 2022-07-06 09:12 仁义礼智信的 阅读(228) 评论(0) 推荐(0)
上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 48 下一页