当前位置:网站首页>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)
边栏推荐
- [BSidesCF 2019] Kookie
- There are a lot of 4T hard drives remaining, prompting "No space left on device" insufficient disk space
- Redis key basic commands
- Spark基础【介绍、入门WordCount案例】
- App rapid development and construction experience: the importance of small programs + custom plug-ins
- [8.2] Code Source - [Currency System] [Coins] [New Year's Questions (Data Enhanced Edition)] [Three Stages]
- UE4 第一人称角色模板 添加冲刺(加速)功能
- [MRCTF2020] PYWebsite
- 程序开发的一些常规套路(一)
- flink reads mongodb data source
猜你喜欢
Haproxy搭建Web群集
【测量学】速成汇总——摘录高数帮
Hard power or soft power, which is more important to testers?
【8.4】代码源 - 【数学】【历法】【删库】【不朴素的数列(Bonus)】
There are several common event handling methods in Swing?How to listen for events?
Paparazzi: Surface Editing by way of Multi-View Image Processing
虚证、实证如何鉴别?
Qixi Festival code confession
Ali's local life's single-quarter revenue is 10.6 billion, Da Wenyu's revenue is 7.2 billion, and Cainiao's revenue is 12.1 billion
UE4 在游戏运行时更改变量 (通过鼠标滑轮来更改第一人称角色的最大行走速度)
随机推荐
Mysql的redo log详解
The first performance test practice, there are "100 million" a little nervous
关于#SQL#的迭代、父子结构查询问题,如何解决?
UE4 第一人称角色模板 添加蹲伏功能
creo怎么测量点到面的距离
为什么刚考完PMP,就开始准备软考了?
About the installation of sklearn library
Ali's local life's single-quarter revenue is 10.6 billion, Da Wenyu's revenue is 7.2 billion, and Cainiao's revenue is 12.1 billion
Bosses, I noticed that a mysql CDC connector parameters scan. The incremental. Sna
DEJA_VU3D - Cesium功能集 之 057-百度地图纠偏
cross domain solution
多列属性column元素的可见性:display、visibility、opacity、垂直对齐方式:vertical-align、z-index 越大越显示在上层
[MRCTF2020] Ezpop (detailed)
bytebuffer use demo
新人如何入门和学习软件测试?
The most effective seven performance testing techniques of software testing techniques
[8.2] Code Source - [Currency System] [Coins] [New Year's Questions (Data Enhanced Edition)] [Three Stages]
UI自动化测试 App的WebView页面中,当搜索栏无搜索按钮时处理方法
App rapid development and construction experience: the importance of small programs + custom plug-ins
数据库设计的酸(ACID)碱(BASE)原则