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 deprecated in php 7.2 #17

Open
stephanedemotte opened this issue Jan 10, 2018 · 0 comments
Open

create_function deprecated in php 7.2 #17

stephanedemotte opened this issue Jan 10, 2018 · 0 comments

Comments

@stephanedemotte
Copy link

stephanedemotte commented Jan 10, 2018

create_function in Database.php on line 82 deprecated in php 7.2

I try to use anomymous function, but i suck 🗡

:: edit

            $this->document_criterias[$id] = function($document) use ($criteria) {
              $str = UtilArrayQuery::buildCondition($criteria);
              return eval("return $str;");
            };

quick fix :)

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