摘要: 1. 根据phpyinfo获取自己的php信息 x86,php5.6,TS,VC11 2. 在pecl网站上找到对应的版本 "5.6 Thread Safe (TS) x86" https://pecl.php.net/package/redis/ 3. 把压缩包中东西解压缩至自己php文件夹下的e 阅读全文
posted @ 2018-07-09 22:19 七月吃瓜 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 异常习题: 一 编写with操作类Fileinfo(),定义\__enter\__和\__exit__方法。完成功能: 1.1 在\__enter__方法里打开Fileinfo(filename),并且返回filename对应的内容。如果文件不存在等情况,需要捕获异常。 1.2 在\__enter_ 阅读全文
posted @ 2018-07-09 17:03 七月吃瓜 阅读(725) 评论(0) 推荐(0) 编辑