当前位置:网站首页>dedecms报错The each() function is deprecated
dedecms报错The each() function is deprecated
2022-08-05 04:13:00 【网站建设影子】
在使用PHP7+环境下,织梦的旧版本程序里会员模块或者第三方插件中XSS过滤函数里有个上图的each()报错提示,
这是因为php7+以上版本抛弃了each函数导致,我们来纠正即可
打开报错提示文件对应的 on line 行数
把
while (list($key) = each($val))改成
foreach ($val as $key => $value)边栏推荐
- 重载运算符
- UE4 更改组件变量 (以修改第一人称角色模板的最大行走速度和跳跃高度为例)
- Bytebuffer put flip compact clear method demonstration
- Redis1: Introduction to Redis, basic features of Redis, relational database, non-relational database, database development stage
- App rapid development and construction experience: the importance of small programs + custom plug-ins
- [BJDCTF2020]EasySearch
- 【8.3】代码源 - 【喵 ~ 喵 ~ 喵~】【树】【与】
- MySql的索引学习和使用;(本人觉得足够详细)
- [GYCTF2020]EasyThinking
- Qixi Festival code confession
猜你喜欢

Detailed and comprehensive postman interface testing practical tutorial

[TA-Frost Wolf_may-"Hundred Talents Project"] Graphics 4.3 Real-time Shadow Introduction

【Mysql进阶优化篇02】索引失效的10种情况及原理

No regrets, the appium automation environment is perfectly built

Based on holding YOLOv5 custom implementation of FacePose YOLO structure interpretation, YOLO data format conversion, YOLO process modification"

MySql的索引学习和使用;(本人觉得足够详细)

mutillidae下载及安装

狗仔队:表面编辑多视点图像处理

4T硬盘剩余很多提示“No space left on device“磁盘空间不足

UE4 通过重叠事件开启门
随机推荐
C++ core programming
Mysql的undo log详解
【8.4】代码源 - 【数学】【历法】【删库】【不朴素的数列(Bonus)】
DEJA_VU3D - Cesium功能集 之 056-智图Arcgis地图纠偏
App快速开发建设心得:小程序+自定义插件的重要性
4T硬盘剩余很多提示“No space left on device“磁盘空间不足
[SWPU2019]Web1
UE4 opens door via interaction (keyboard key)
How do newcomers get started and learn software testing?
商业智能BI业务分析思维:现金流量风控分析(一)营运资金风险
日志导致线程Block的这些坑,你不得不防
36-Jenkins-Job迁移
Is the NPDP certificate high in gold content?Compared to PMP?
XMjs cross-domain problem solving
Paparazzi: Surface Editing by way of Multi-View Image Processing
Summary of common methods of arrays
How to discover a valuable GameFi?
DEJA_VU3D - Cesium功能集 之 058-高德地图纠偏
[8.2] Code Source - [Currency System] [Coins] [New Year's Questions (Data Enhanced Edition)] [Three Stages]
bytebuffer put flip compact clear 方法演示