DenisOgr/yii2-cronjobs

create_function is already deprecated,line 285

Opened this issue · 0 comments

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.