Skip to content

修复 - PHP 7.2及以上版本对于 create_function() 的提示#5

Open
KooriMoe wants to merge 1 commit into
ShawnZeng1996:masterfrom
KooriMoe:master
Open

修复 - PHP 7.2及以上版本对于 create_function() 的提示#5
KooriMoe wants to merge 1 commit into
ShawnZeng1996:masterfrom
KooriMoe:master

Conversation

@KooriMoe

Copy link
Copy Markdown

对于 PHP 7.2 及以上版本,create_function() 被改为「不建议使用」,且会在 Debug 时出现此错误。
更改为匿名函数可解决此问题。
stackoverflow: PHP 7.2 Function create_function() is deprecated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant