当前位置:网站首页>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)边栏推荐
- 测试薪资这么高?刚毕业就20K
- There are a lot of 4T hard drives remaining, prompting "No space left on device" insufficient disk space
- [CISCN2019 South China Division]Web11
- flink reads mongodb data source
- Bytebuffer put flip compact clear method demonstration
- 如何解决复杂的分销分账问题?
- bytebuffer use demo
- 【8.1】代码源 - 【第二大数字和】【石子游戏 III】【平衡二叉树】
- 概率论的学习和整理8: 几何分布和超几何分布
- DEJA_VU3D - Cesium功能集 之 057-百度地图纠偏
猜你喜欢

如何解决复杂的分销分账问题?

token, jwt, oauth2, session parsing

36-Jenkins-Job迁移
![[CISCN2019 华东南赛区]Web11](/img/15/843334fec0a5cc8cfaba92aab938db.png)
[CISCN2019 华东南赛区]Web11

Learning and finishing of probability theory 8: Geometric and hypergeometric distributions

UE4 第一人称角色模板 添加生命值和调试伤害

What is ASEMI photovoltaic diode, the role of photovoltaic diode

Feature preprocessing

MySql index learning and use; (I think it is detailed enough)

mutillidae下载及安装
随机推荐
10 years of testing experience, worthless in the face of the biological age of 35
Some conventional routines of program development (1)
The log causes these pits in the thread block, you have to guard against
Redis1: Introduction to Redis, basic features of Redis, relational database, non-relational database, database development stage
狗仔队:表面编辑多视点图像处理
[SWPU2019]Web1
1007 Climb Stairs (greedy | C thinking)
The most comprehensive exam questions for software testing engineers in 2022
MySql的索引学习和使用;(本人觉得足够详细)
4T硬盘剩余很多提示“No space left on device“磁盘空间不足
AUTOCAD - dimension association
Detailed and comprehensive postman interface testing practical tutorial
四位数显表头设计
机器学习概述
[BJDCTF2020]EasySearch
C++ core programming
C+ +核心编程
日志导致线程Block的这些坑,你不得不防
DEJA_VU3D - Cesium功能集 之 059-腾讯地图纠偏
概率论的学习和整理8: 几何分布和超几何分布