Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create_function is already deprecated,line 285 #17

Open
will-nb opened this issue Oct 9, 2018 · 0 comments
Open

create_function is already deprecated,line 285 #17

will-nb opened this issue Oct 9, 2018 · 0 comments

Comments

@will-nb
Copy link

will-nb commented Oct 9, 2018

This function internally performs an eval() and as such has the same security issues as eval(). Additionally it has bad performance and memory usage characteristics.

If you are using PHP 5.3.0 or newer a native anonymous function should be used instead.

KeKKai added a commit to KeKKai/yii2-cronjobs that referenced this issue Jan 24, 2019
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

No branches or pull requests

1 participant