当前位置:网站首页>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)边栏推荐
- The log causes these pits in the thread block, you have to guard against
- What is ASEMI photovoltaic diode, the role of photovoltaic diode
- What is the function of industrial-grade remote wireless transmission device?
- No regrets, the appium automation environment is perfectly built
- 新人如何入门和学习软件测试?
- 36-Jenkins-Job迁移
- C++ core programming
- Event parse tree Drain3 usage and explanation
- Spark Basics [Introduction, Getting Started with WordCount Cases]
- 1007 Climb Stairs (greedy | C thinking)
猜你喜欢

iMedicalLIS listener (2)

Spark基础【介绍、入门WordCount案例】

How to wrap markdown - md file
![[MRCTF2020] PYWebsite](/img/d4/57e8e5ee45b742894679f3f5671516.png)
[MRCTF2020] PYWebsite

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

35岁的软件测试工程师,月薪不足2W,辞职又怕找不到工作,该何去何从?

Acid (ACID) Base (BASE) Principles for Database Design

Four-digit display header design

UE4 在游戏运行时更改变量 (通过鼠标滑轮来更改第一人称角色的最大行走速度)

多御安全浏览器 V10.8.3.1 版正式发布,优化多项内容
随机推荐
Qixi Festival earn badges
UE4 opens door via interaction (keyboard key)
BI业务分析思维:现金流量风控分析(二)信用、流动和投资风险
Redis key基本命令
token, jwt, oauth2, session parsing
In the WebView page of the UI automation test App, the processing method when the search bar has no search button
【树莓派】树莓派调光
DEJA_VU3D - Cesium功能集 之 059-腾讯地图纠偏
Mysql的undo log详解
程序开发的一些常规套路(一)
关于#SQL#的迭代、父子结构查询问题,如何解决?
七夕节代码表白
mutillidae下载及安装
新人如何入门和学习软件测试?
iMedicalLIS监听程序(2)
什么是ASEMI光伏二极管,光伏二极管的作用
【8.3】代码源 - 【喵 ~ 喵 ~ 喵~】【树】【与】
DNS被劫持如何处理?
Paparazzi: Surface Editing by way of Multi-View Image Processing
[8.1] Code Source - [The Second Largest Number Sum] [Stone Game III] [Balanced Binary Tree]